diff options
Diffstat (limited to 'modules/commands/os_akill.cpp')
| -rw-r--r-- | modules/commands/os_akill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_akill.cpp b/modules/commands/os_akill.cpp index e7b46714f..fd58e0ce0 100644 --- a/modules/commands/os_akill.cpp +++ b/modules/commands/os_akill.cpp @@ -162,7 +162,7 @@ class CommandOSAKill : public Command reason = "[" + source.GetNick() + "] " + reason; XLine *x = new XLine(mask, source.GetNick(), expires, reason); - if (Config->GetBlock("operserv")->Get<bool>("akilids")) + if (Config->GetModule("operserv")->Get<bool>("akillids")) x->id = XLineManager::GenerateUID(); unsigned int affected = 0; |
