summaryrefslogtreecommitdiff
path: root/modules/operserv/os_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/operserv/os_list.cpp')
-rw-r--r--modules/operserv/os_list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operserv/os_list.cpp b/modules/operserv/os_list.cpp
index a80683054..46c4c89bb 100644
--- a/modules/operserv/os_list.cpp
+++ b/modules/operserv/os_list.cpp
@@ -117,7 +117,7 @@ public:
"specified, lists only channels matching \002pattern\002 that have the +s or\n"
"+p mode."));
- const Anope::string &regexengine = Config->GetBlock("options")->Get<const Anope::string>("regexengine");
+ const Anope::string &regexengine = Config->GetBlock("options").Get<const Anope::string>("regexengine");
if (!regexengine.empty())
{
source.Reply(" ");
@@ -260,7 +260,7 @@ public:
"only users that are on the given channel. If INVISIBLE is specified, only users\n"
"with the +i flag will be listed."));
- const Anope::string &regexengine = Config->GetBlock("options")->Get<const Anope::string>("regexengine");
+ const Anope::string &regexengine = Config->GetBlock("options").Get<const Anope::string>("regexengine");
if (!regexengine.empty())
{
source.Reply(" ");