summaryrefslogtreecommitdiff
path: root/src/modules/m_channelban.cpp
diff options
context:
space:
mode:
authorJackmcbarn <jackmcbarn@jackmcbarn.no-ip.org>2011-01-30 11:42:26 -0500
committerJackmcbarn <jackmcbarn@jackmcbarn.no-ip.org>2011-01-30 11:42:26 -0500
commit511c11b8da024363fe2711a5ea9d600326073c8c (patch)
tree42591f92e14b911847ed80dd7c4c3f09bd9d54be /src/modules/m_channelban.cpp
parentc56c8dea82a40c95c640ac6196f3d9d70ebb9e4e (diff)
Fix bug #83
Diffstat (limited to 'src/modules/m_channelban.cpp')
-rw-r--r--src/modules/m_channelban.cpp2
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;
}