From 50acad5ce451b44b469890fe46ce14c7ffd031ca Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 10 Dec 2014 02:09:51 -0500 Subject: Unconst these config Get calls as it makes no sense --- modules/commands/os_sxline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/os_sxline.cpp') diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 368d118ec..b5025203f 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -379,7 +379,7 @@ class CommandOSSNLine : public CommandOSSXLineBase " Because the real name may contain spaces, the separator between it and the reason is a \002colon\002."), source.command, Anope::Duration(Config->GetModule("operserv")->Get("snlineexpiry", "30d"), source.GetAccount())); - const Anope::string ®exengine = Config->GetBlock("options")->Get("regexengine"); + const Anope::string ®exengine = Config->GetBlock("options")->Get("regexengine"); if (!regexengine.empty()) { source.Reply(" "); @@ -609,7 +609,7 @@ class CommandOSSQLine : public CommandOSSXLineBase " The default {0} expiry time is \002{1}\002."), source.command, Anope::Duration(Config->GetModule("operserv")->Get("sqlineexpiry", "30d"), source.GetAccount())); - const Anope::string ®exengine = Config->GetBlock("options")->Get("regexengine"); + const Anope::string ®exengine = Config->GetBlock("options")->Get("regexengine"); if (!regexengine.empty()) { source.Reply(" "); -- cgit