From c7cbfa7f98059adff94bd8dfbecfc05a310d9193 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 May 2020 22:41:54 +0100 Subject: Fix not being able to set more than one extban. --- src/modules/m_banexception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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 : or :. 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) -- cgit v1.3.1-10-gc9f91