From 486ab0f5e20e82fcfac945b0b5a4031782710d82 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 21 Aug 2008 13:45:07 +0000 Subject: Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_restrictchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 35665fad9..587ba24c1 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(ERR_TOOMANYCHANNELS, "%s %s :Only IRC operators may create new channels",user->nick.c_str(),cname); + user->WriteNumeric(ERR_BANNEDFROMCHAN, "%s %s :Only IRC operators may create new channels",user->nick.c_str(),cname); return 1; } } -- cgit v1.2.3