summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}