diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-07 20:18:34 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-07 20:22:43 +0100 |
commit | 34d385ea3253442c2ede2df1f0b50b2eb042c615 (patch) | |
tree | 1db94ac9fc5a9b5610123492ed9955ddbdba2412 | |
parent | da53c17315d3eb0d0177608d306d208bdf05786b (diff) |
Fix building on older compiler versions.
-rw-r--r-- | src/modules/m_exemptchanops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp index 7a40063fc..b10a44859 100644 --- 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; } |