1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:56:38 +02:00

Fix a few more modules to look in the right places for certain settings.

This commit is contained in:
Robby-
2013-09-23 19:26:23 +02:00
committed by Adam
parent 06c5914820
commit 832bc35135
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class CommandOSKill : public Command
{
if (reason.empty())
reason = "No reason specified";
if (Config->GetBlock("operserv")->Get<bool>("addakiller"))
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);