mirror of
https://github.com/anope/anope.git
synced 2026-06-30 03:56:38 +02:00
Added os_forbid
This commit is contained in:
@@ -31,9 +31,7 @@ class CommandNSIdentify : public Command
|
||||
Anope::string pass = params[params.size() - 1];
|
||||
|
||||
NickAlias *na = findnick(nick);
|
||||
if (na && na->HasFlag(NS_FORBIDDEN))
|
||||
source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str());
|
||||
else if (na && na->nc->HasFlag(NI_SUSPENDED))
|
||||
if (na && na->nc->HasFlag(NI_SUSPENDED))
|
||||
source.Reply(_(NICK_X_SUSPENDED), na->nick.c_str());
|
||||
else if (u->Account() && na && u->Account() == na->nc)
|
||||
source.Reply(_("You are already identified."));
|
||||
|
||||
Reference in New Issue
Block a user