summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e22ada43d..6cd99c73e 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -104,7 +104,7 @@ public:
continue;
std::string maskptr = it->mask.substr(2);
- if (match(maskptr, str))
+ if (match(str, maskptr))
return 1; // matches
}
}