inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 34d385ea3253442c2ede2df1f0b50b2eb042c615
parent da53c17315d3eb0d0177608d306d208bdf05786b
Author: Peter Powell <petpow@saberuk.com>
Date:   Fri,  7 Jun 2019 20:18:34 +0100

Fix building on older compiler versions.

Diffstat:
Msrc/modules/m_exemptchanops.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp @@ -48,7 +48,7 @@ class ExemptChanOps : public ListModeBase return false; restriction.assign(entry, 0, colon); - prefix.assign(entry, colon + 1); + prefix.assign(entry, colon + 1, std::string::npos); return true; }