From 02be48cfeb0125a16504e255dc93a99b44eb8ca3 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 5 Aug 2008 15:16:03 +0000 Subject: Copypasta git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10097 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } } -- cgit v1.2.3