summaryrefslogtreecommitdiff
path: root/modules/commands/os_kill.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 /modules/commands/os_kill.cpp
parent4fc71bb22f77930885b11182ad34705d1160efc0 (diff)
Update Kill() calls to pass source pointer instead of name
Diffstat (limited to 'modules/commands/os_kill.cpp')
-rw-r--r--modules/commands/os_kill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_kill.cpp b/modules/commands/os_kill.cpp
index 23d78d459..718ccebde 100644
--- a/modules/commands/os_kill.cpp
+++ b/modules/commands/os_kill.cpp
@@ -37,7 +37,7 @@ class CommandOSKill : public Command
if (Config->GetModule("operserv")->Get<bool>("addakiller"))
reason = "(" + source.GetNick() + ") " + reason;
Log(LOG_ADMIN, source, this) << "on " << u2->nick << " for " << reason;
- u2->Kill(source.service->nick, reason);
+ u2->Kill(*source.service, reason);
}
}