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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user