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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user