mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
6a3319c7fc
commit
486ab0f5e2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user