1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 10:03:14 +02:00

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
This commit is contained in:
Adam-
2010-04-11 00:29:07 +00:00
parent 626afff37d
commit 1e9de0c7f1
7 changed files with 19 additions and 9 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ class CommandNSRelease : public Command
if (!res)
{
Alog() << Config.s_NickServ << ": RELEASE: invalid password for " << nick << " by " << u->GetMask();
bad_password(u);
if (bad_password(u))
return MOD_STOP;
}
}
}