diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-11 00:29:07 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-11 00:29:07 +0000 |
commit | 1e9de0c7f146ec00d2dd6ee4cb9d86860a03ea9f (patch) | |
tree | c653f724f60fa569c62a8b44eab4c147d52f1b40 /include | |
parent | 626afff37d1a31b2427700ac5a1dbdb32171afbc (diff) |
Return MOD_STOP in various places where the user executing the command had been killed, fixes a crash if a user gets killed for too many invalid passwords
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2885 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/extern.h b/include/extern.h index fb432f44f..2b8b8ca0e 100644 --- a/include/extern.h +++ b/include/extern.h @@ -35,7 +35,7 @@ E IRCDProto *ircdproto; /**** actions.c ****/ E void kill_user(const std::string &source, const std::string &user, const std::string &reason); -E void bad_password(User *u); +E bool bad_password(User *u); E void sqline(const std::string &mask, const std::string &reason); E void common_unban(ChannelInfo *ci, const std::string &nick); |