summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 15:16:03 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 15:16:03 +0000
commit02be48cfeb0125a16504e255dc93a99b44eb8ca3 (patch)
treef8f9f7333325b6885fb21bd1209dba54229bdbfb /src/modules
parent27cef863f7286b626e01f1287f31005478a66fea (diff)
Copypasta
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10097 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_operchans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index 118349b06..207c468b1 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -78,7 +78,7 @@ class ModuleOperChans : public Module
{
if (chan && chan->IsExtBanned(user->oper, 'O'))
{
- user->WriteNumeric(ERR_BANNEDFROMCHAN, "%s %s :Cannot join channel (You're banned)", user->nick.c_str(), c->name.c_str());
+ user->WriteNumeric(ERR_BANNEDFROMCHAN, "%s %s :Cannot join channel (You're banned)", user->nick.c_str(), chan->name.c_str());
return 1;
}
}