diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_channelban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp index 6696e7238..c2096b489 100644 --- a/src/modules/m_channelban.cpp +++ b/src/modules/m_channelban.cpp @@ -51,7 +51,7 @@ class ModuleBadChannelExtban : public Module { if (status) { - Membership* memb = c->GetUser(user); + Membership* memb = (**i).GetUser(user); if (memb && memb->hasMode(status)) return MOD_RES_DENY; } |