From 3156ab273687038ecae4004a524de4bb7bed3c03 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 28 Mar 2005 01:11:48 +0000 Subject: Added a module at request of [ed] which stops anyone messaging all but opers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@925 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 b834140fe..caced3c56 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -39,7 +39,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) { - WriteServ(user->fd,"530 %s %s :Only IRC operators may create new channels",user->nick, chan->name,chan->name); + WriteServ(user->fd,"530 %s %s :Only IRC operators may create new channels",user->nick,cname,cname); return 1; } } -- cgit v1.3.1-10-gc9f91