From 511c11b8da024363fe2711a5ea9d600326073c8c Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sun, 30 Jan 2011 11:42:26 -0500 Subject: Fix bug #83 --- src/modules/m_channelban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_channelban.cpp') 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; } -- cgit v1.2.3