mirror of
https://github.com/anope/anope.git
synced 2026-07-08 19:43:13 +02:00
Use dynamic_reference to check for users being killed from commands
This commit is contained in:
@@ -78,8 +78,7 @@ class CommandNSGhost : public Command
|
||||
if (!pass.empty())
|
||||
{
|
||||
Log(LOG_COMMAND, u, this) << "with an invalid password for " << nick;
|
||||
if (bad_password(u))
|
||||
return MOD_STOP;
|
||||
bad_password(u);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user