summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 16:16:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 16:16:43 +0000
commit4367b8658681d25be247aeff600d9b9c3614d9ee (patch)
tree1d12cb0e5017cc9ce9b224ad4fb81c5f4f82c7d7 /src/modules
parent9b56909a3b00b4dc25dfb27ccbf0859d2fd5eb7a (diff)
I can do coding, me!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6959 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_regonlycreate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_regonlycreate.cpp b/src/modules/m_regonlycreate.cpp
index 19e5bd09e..9874936d8 100644
--- a/src/modules/m_regonlycreate.cpp
+++ b/src/modules/m_regonlycreate.cpp
@@ -41,7 +41,7 @@ class ModuleRegOnlyCreate : public Module
if ((!user->IsModeSet('r')) && (!user->GetExt("accountname")))
{
- user->WriteServ("482 %s %s :You must have a registered nickname to create a new channel",user->nick, chan->name);
+ user->WriteServ("482 %s %s :You must have a registered nickname to create a new channel", user->nick, cname);
return 1;
}