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_ghost.cpp | |
parent | 905207093b89a3c71ee3732d051555870c4d39f5 (diff) |
Use dynamic_reference to check for users being killed from commands
Diffstat (limited to 'modules/core/ns_ghost.cpp')
-rw-r--r-- | modules/core/ns_ghost.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/ns_ghost.cpp b/modules/core/ns_ghost.cpp index d8e0faf64..60bd9aea2 100644 --- a/modules/core/ns_ghost.cpp +++ b/modules/core/ns_ghost.cpp @@ -78,8 +78,7 @@ class CommandNSGhost : public Command if (!pass.empty()) { Log(LOG_COMMAND, u, this) << "with an invalid password for " << nick; - if (bad_password(u)) - return MOD_STOP; + bad_password(u); } } } |