diff options
author | Adam <Adam@anope.org> | 2011-05-06 18:02:53 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:10:18 -0400 |
commit | fd4b52ec385167794eaadb18ee635bef757728ee (patch) | |
tree | 49d3e835b072a10887309d8d9155982a5aa61ed0 /modules/core/ns_getpass.cpp | |
parent | b59602abf85d522bb2f188be70b6cb7c9556a856 (diff) |
Added os_forbid
Diffstat (limited to 'modules/core/ns_getpass.cpp')
-rw-r--r-- | modules/core/ns_getpass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/core/ns_getpass.cpp b/modules/core/ns_getpass.cpp index e66cf8ff7..3d7ceb3ae 100644 --- a/modules/core/ns_getpass.cpp +++ b/modules/core/ns_getpass.cpp @@ -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 |