summaryrefslogtreecommitdiff
path: root/src/core/ns_ghost.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_ghost.c')
-rw-r--r--src/core/ns_ghost.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c
index 49c36b303..72b02efae 100644
--- a/src/core/ns_ghost.c
+++ b/src/core/ns_ghost.c
@@ -54,7 +54,8 @@ class CommandNSGhost : public Command
if (!res)
{
Alog() << Config.s_NickServ << ": GHOST: invalid password for " << nick << " by " << u->GetMask();
- bad_password(u);
+ if (bad_password(u))
+ return MOD_STOP;
}
}
}