mirror of
https://github.com/anope/anope.git
synced 2026-07-06 21:43:13 +02:00
Fix a few more modules to look in the right places for certain settings.
This commit is contained in:
@@ -62,7 +62,7 @@ class CommandOSChanKill : public Command
|
||||
if (!reason.empty())
|
||||
{
|
||||
Anope::string realreason;
|
||||
if (Config->GetBlock("operserv")->Get<bool>("addakiller") && !source.GetNick().empty())
|
||||
if (Config->GetModule("operserv")->Get<bool>("addakiller") && !source.GetNick().empty())
|
||||
realreason = "[" + source.GetNick() + "] " + reason;
|
||||
else
|
||||
realreason = reason;
|
||||
|
||||
Reference in New Issue
Block a user