aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 5a953b148..e267c3524 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -78,7 +78,7 @@ class ModuleBanException
// The mask must be in the format <letter>:<value> or <name>:<value>.
size_t endpos = ban.mask.find_first_not_of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
if (endpos == std::string::npos || ban.mask[endpos] != ':')
- return MOD_RES_PASSTHRU;
+ continue;
const std::string name(ban.mask, 0, endpos);
if (name.size() == 1)