1
0
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:
Adam
2011-05-06 18:02:53 -04:00
parent b59602abf8
commit fd4b52ec38
66 changed files with 586 additions and 702 deletions
-5
View File
@@ -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)