summaryrefslogtreecommitdiff
path: root/modules/core/ns_ghost.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-03 18:19:29 -0400
committerAdam <Adam@anope.org>2011-04-03 18:19:29 -0400
commit74844c0f287a875d19cc7b2fcaa13cb76a0f2061 (patch)
tree296d739713318ec815131c36d12c4ffd63fd9f0d /modules/core/ns_ghost.cpp
parent905207093b89a3c71ee3732d051555870c4d39f5 (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.cpp3
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);
}
}
}