summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 2a04fca20..8ec13d8c0 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -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;
}