diff options
author | Adam <Adam@anope.org> | 2014-12-05 17:27:08 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-05 17:27:08 -0500 |
commit | afffeb0a1d49c1ac8f06ac9850929a41a52cbc7e (patch) | |
tree | dc8bdbcc0ce4faf5b8e10bf071606d9870edf429 /modules/commands/os_sxline.cpp | |
parent | 4fc71bb22f77930885b11182ad34705d1160efc0 (diff) |
Update Kill() calls to pass source pointer instead of name
Diffstat (limited to 'modules/commands/os_sxline.cpp')
-rw-r--r-- | modules/commands/os_sxline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 6b05ad241..80b7c5586 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -399,7 +399,7 @@ class CommandOSSNLine : public CommandOSSXLineBase User *user = it->second; if (!user->HasMode("OPER") && user->server != Me && this->xlm()->Check(user, x)) - user->Kill(Me->GetName(), rreason); + user->Kill(Me, rreason); } this->xlm()->Send(NULL, x); @@ -631,7 +631,7 @@ class CommandOSSQLine : public CommandOSSXLineBase User *user = it->second; if (!user->HasMode("OPER") && user->server != Me && this->xlm()->Check(user, x)) - user->Kill(Me->GetName(), rreason); + user->Kill(Me, rreason); } } |