mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Copypasta
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10097 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
27cef863f7
commit
02be48cfeb
@ -78,7 +78,7 @@ class ModuleOperChans : public Module
|
|||||||
{
|
{
|
||||||
if (chan && chan->IsExtBanned(user->oper, 'O'))
|
if (chan && chan->IsExtBanned(user->oper, 'O'))
|
||||||
{
|
{
|
||||||
user->WriteNumeric(ERR_BANNEDFROMCHAN, "%s %s :Cannot join channel (You're banned)", user->nick.c_str(), c->name.c_str());
|
user->WriteNumeric(ERR_BANNEDFROMCHAN, "%s %s :Cannot join channel (You're banned)", user->nick.c_str(), chan->name.c_str());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user