diff options
author | Adam <Adam@anope.org> | 2011-04-03 18:19:29 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-04-03 18:19:29 -0400 |
commit | 74844c0f287a875d19cc7b2fcaa13cb76a0f2061 (patch) | |
tree | 296d739713318ec815131c36d12c4ffd63fd9f0d /modules/core/ns_release.cpp | |
parent | 905207093b89a3c71ee3732d051555870c4d39f5 (diff) |
Use dynamic_reference to check for users being killed from commands
Diffstat (limited to 'modules/core/ns_release.cpp')
-rw-r--r-- | modules/core/ns_release.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/ns_release.cpp b/modules/core/ns_release.cpp index 94126eef8..a6f5f862f 100644 --- a/modules/core/ns_release.cpp +++ b/modules/core/ns_release.cpp @@ -54,8 +54,7 @@ class CommandNSRelease : public Command { source.Reply(_(ACCESS_DENIED)); Log(LOG_COMMAND, u, this) << "invalid password for " << nick; - if (bad_password(u)) - return MOD_STOP; + bad_password(u); } } else |