diff options
| author | 2020-05-07 22:41:54 +0100 | |
|---|---|---|
| committer | 2020-05-07 22:41:54 +0100 | |
| commit | c7cbfa7f98059adff94bd8dfbecfc05a310d9193 (patch) | |
| tree | 5d84450d3637feb9ac59498307b58ce6a7c1491f /src/modules | |
| parent | Add first class support for extbans. (diff) | |
Fix not being able to set more than one extban.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_banexception.cpp | 2 |
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) |
