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 <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 xbname(ban.mask, 0, endpos);
 		if (xbname.size() == 1)
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)