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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user