summaryrefslogtreecommitdiff
path: root/src/modules/m_channelban.cpp
diff options
context:
space:
mode:
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 fd5d5d401..727ab15a3 100644
--- a/src/modules/m_channelban.cpp
+++ b/src/modules/m_channelban.cpp
@@ -39,7 +39,7 @@ class ModuleBadChannelExtban : public Module
ModResult rv;
for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++)
{
- rv = rv + c->GetExtBanStatus(i->first->name, 'j');
+ rv = rv + c->GetExtBanStatus((*i)->name, 'j');
}
return rv;