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_resetpass.cpp | |
parent | b59602abf85d522bb2f188be70b6cb7c9556a856 (diff) |
Added os_forbid
Diffstat (limited to 'modules/core/ns_resetpass.cpp')
-rw-r--r-- | modules/core/ns_resetpass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/core/ns_resetpass.cpp b/modules/core/ns_resetpass.cpp index 983800d0a..d84f12e24 100644 --- a/modules/core/ns_resetpass.cpp +++ b/modules/core/ns_resetpass.cpp @@ -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)) |