mirror of
https://github.com/anope/anope.git
synced 2026-06-27 20:06:37 +02:00
Added os_forbid
This commit is contained in:
@@ -202,11 +202,6 @@ class CommandCSAccess : public Command
|
||||
NickAlias *na = findnick(mask);
|
||||
if (!na && mask.find_first_of("!@*") == Anope::string::npos)
|
||||
mask += "!*@*";
|
||||
else if (na && na->HasFlag(NS_FORBIDDEN))
|
||||
{
|
||||
source.Reply(_(NICK_X_FORBIDDEN), mask.c_str());
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
ChanAccess *access = ci->GetAccess(mask, 0, false);
|
||||
if (access)
|
||||
|
||||
Reference in New Issue
Block a user