mirror of
https://github.com/anope/anope.git
synced 2026-06-29 21:06:37 +02:00
Added os_forbid
This commit is contained in:
@@ -35,8 +35,6 @@ class CommandNSSendPass : public Command
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
else 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
|
||||
{
|
||||
Anope::string tmp_pass;
|
||||
|
||||
Reference in New Issue
Block a user