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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user