1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 04:26:38 +02:00

Update Kill() calls to pass source pointer instead of name

This commit is contained in:
Adam
2014-12-05 17:27:08 -05:00
parent 4fc71bb22f
commit afffeb0a1d
9 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -805,7 +805,7 @@ bool User::BadPassword()
this->invalid_pw_time = Anope::CurTime;
if (this->invalid_pw_count >= Config->GetBlock("options")->Get<int>("badpasslimit"))
{
this->Kill(Me->GetName(), "Too many invalid passwords");
this->Kill(Me, "Too many invalid passwords");
return true;
}