mirror of
https://github.com/anope/anope.git
synced 2026-07-07 00:03:13 +02:00
Use dynamic_reference to check for users being killed from commands
This commit is contained in:
@@ -54,8 +54,7 @@ class CommandNSRelease : public Command
|
||||
{
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
Log(LOG_COMMAND, u, this) << "invalid password for " << nick;
|
||||
if (bad_password(u))
|
||||
return MOD_STOP;
|
||||
bad_password(u);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user