1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 10:53:12 +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
-12
View File
@@ -42,12 +42,6 @@ class CommandNSSuspend : public Command
return MOD_CONT;
}
if (na->HasFlag(NS_FORBIDDEN))
{
source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str());
return MOD_CONT;
}
if (Config->NSSecureAdmins && na->nc->IsServicesOper())
{
source.Reply(_(ACCESS_DENIED));
@@ -124,12 +118,6 @@ class CommandNSUnSuspend : public Command
return MOD_CONT;
}
if (na->HasFlag(NS_FORBIDDEN))
{
source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str());
return MOD_CONT;
}
if (Config->NSSecureAdmins && na->nc->IsServicesOper())
{
source.Reply(_(ACCESS_DENIED));