1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:33:14 +02:00

Update Kill() calls to pass source pointer instead of name

This commit is contained in:
Adam
2014-12-05 17:27:08 -05:00
parent 4fc71bb22f
commit afffeb0a1d
9 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -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);
}
}