summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-12-05 17:27:08 -0500
committerAdam <Adam@anope.org>2014-12-05 17:27:08 -0500
commitafffeb0a1d49c1ac8f06ac9850929a41a52cbc7e (patch)
treedc8bdbcc0ce4faf5b8e10bf071606d9870edf429 /src/users.cpp
parent4fc71bb22f77930885b11182ad34705d1160efc0 (diff)
Update Kill() calls to pass source pointer instead of name
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;
}