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/coremods/core_channel/extban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/coremods') diff --git a/src/coremods/core_channel/extban.cpp b/src/coremods/core_channel/extban.cpp index 538bb6361..d9a366d37 100644 --- a/src/coremods/core_channel/extban.cpp +++ b/src/coremods/core_channel/extban.cpp @@ -51,7 +51,7 @@ ModResult ExtBanManager::GetStatus(ExtBan::Acting* extban, User* user, Channel* // 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 xbname(ban.mask, 0, endpos); if (xbname.size() == 1) -- cgit v1.3.1-10-gc9f91