summaryrefslogtreecommitdiff
path: root/modules/commands/os_akill.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-09-23 19:14:20 +0200
committerAdam <Adam@anope.org>2013-09-27 19:11:02 -0400
commit06c5914820cd9a9d483d84113ac60c16dfd3627d (patch)
tree2cc7d2361e65b12dd36e9274867f38cfb5f0f6a5 /modules/commands/os_akill.cpp
parentbf67b9ee5caee3224a44f3999a3f7f78fbce0a25 (diff)
Fix akillids to work again. os_session: Add missing num to del syntax and add missing expiry column.
Diffstat (limited to 'modules/commands/os_akill.cpp')
-rw-r--r--modules/commands/os_akill.cpp2
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;