summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictchans.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-21 13:45:07 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-21 13:45:07 +0000
commit486ab0f5e20e82fcfac945b0b5a4031782710d82 (patch)
treee8331c508435c475b3df6fb541404b24d6dee231 /src/modules/m_restrictchans.cpp
parent6a3319c7fcbaaaed52bd776d6d638224875ab331 (diff)
Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
-rw-r--r--src/modules/m_restrictchans.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}