summaryrefslogtreecommitdiff
path: root/modules/core/ns_ghost.cpp
diff options
context:
space:
mode:
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);
}
}
}