From e3bd782207f50d131acd008b0cbcc7545aac7690 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 May 2008 00:29:53 +0000 Subject: More done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9759 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_restrictchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_restrictchans.cpp') diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 1838338bd..c0409168f 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -60,7 +60,7 @@ class ModuleRestrictChans : public Module // channel does not yet exist (record is null, about to be created IF we were to allow it) if (!chan) { - user->WriteNumeric(530, "%s %s :Only IRC operators may create new channels",user->nick,cname); + user->WriteNumeric(530, "%s %s :Only IRC operators may create new channels",user->nick.c_str(),cname); return 1; } } -- cgit v1.2.3