mirror of
https://github.com/anope/anope.git
synced 2026-07-10 00:23:11 +02:00
Use dynamic_reference to check for users being killed from commands
This commit is contained in:
@@ -137,8 +137,7 @@ class CommandNSGroup : public Command
|
||||
{
|
||||
Log(LOG_COMMAND, u, this) << "failed group for " << target->nick;
|
||||
source.Reply(_(PASSWORD_INCORRECT));
|
||||
if (bad_password(u))
|
||||
return MOD_STOP;
|
||||
bad_password(u);
|
||||
}
|
||||
}
|
||||
return MOD_CONT;
|
||||
|
||||
Reference in New Issue
Block a user