1
0
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:
Adam
2011-04-03 18:19:29 -04:00
parent 905207093b
commit 74844c0f28
7 changed files with 8 additions and 13 deletions
+1 -2
View File
@@ -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);
}
}
}