mirror of
https://github.com/anope/anope.git
synced 2026-06-30 23:26:39 +02:00
Added os_forbid
This commit is contained in:
@@ -31,8 +31,6 @@ class CommandNSGetPass : public Command
|
||||
|
||||
if (!(na = findnick(nick)))
|
||||
source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str());
|
||||
else if (na->HasFlag(NS_FORBIDDEN))
|
||||
source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str());
|
||||
else if (Config->NSSecureAdmins && na->nc->IsServicesOper())
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user