summaryrefslogtreecommitdiff
path: root/modules/commands/os_sxline.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_sxline.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_sxline.cpp')
-rw-r--r--modules/commands/os_sxline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp
index 82f0b2435..b969e9b67 100644
--- a/modules/commands/os_sxline.cpp
+++ b/modules/commands/os_sxline.cpp
@@ -356,7 +356,7 @@ class CommandOSSNLine : public CommandOSSXLineBase
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;
@@ -562,7 +562,7 @@ class CommandOSSQLine : public CommandOSSXLineBase
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;