From 4367b8658681d25be247aeff600d9b9c3614d9ee Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 May 2007 16:16:43 +0000 Subject: I can do coding, me! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6959 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_regonlycreate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3