aboutsummaryrefslogtreecommitdiffstats
path: root/modules/inviteexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/inviteexception.cpp')
-rw-r--r--modules/inviteexception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/inviteexception.cpp b/modules/inviteexception.cpp
index 7047ed36f..bcaabda9b 100644
--- a/modules/inviteexception.cpp
+++ b/modules/inviteexception.cpp
@@ -41,7 +41,7 @@ private:
public:
InviteException(Module* Creator)
- : ListModeBase(Creator, "invex", 'I', RPL_INVEXLIST, RPL_ENDOFINVEXLIST)
+ : ListModeBase(Creator, "invex", 'I', RPL_INVEXLIST, RPL_ENDOFINVEXLIST, true)
, extbanmgr(Creator)
{
syntax = "<mask>";
@@ -99,7 +99,7 @@ public:
{
for (const auto& entry : *list)
{
- if (chan->CheckBan(user, entry.mask))
+ if (chan->CheckListEntry(&ie, user, entry.mask))
{
return MOD_RES_ALLOW;
}