mirror of
https://github.com/anope/anope.git
synced 2026-06-25 11:16:37 +02:00
Added os_forbid
This commit is contained in:
@@ -34,8 +34,6 @@ class CommandNSResetPass : public Command
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
else if (!(na = findnick(params[0])))
|
||||
source.Reply(_(NICK_X_NOT_REGISTERED), params[0].c_str());
|
||||
else if (na->HasFlag(NS_FORBIDDEN))
|
||||
source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str());
|
||||
else
|
||||
{
|
||||
if (SendResetEmail(u, na))
|
||||
|
||||
Reference in New Issue
Block a user