diff options
author | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
commit | 50acad5ce451b44b469890fe46ce14c7ffd031ca (patch) | |
tree | 231101b9e475dacd58b4d03d1a69df9fe7a82f28 /modules/commands/os_list.cpp | |
parent | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (diff) |
Unconst these config Get<Anope::string> calls as it makes no sense
Diffstat (limited to 'modules/commands/os_list.cpp')
-rw-r--r-- | modules/commands/os_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_list.cpp b/modules/commands/os_list.cpp index ea88b12ff..ed825f373 100644 --- a/modules/commands/os_list.cpp +++ b/modules/commands/os_list.cpp @@ -102,7 +102,7 @@ class CommandOSChanList : public Command "If \002pattern\002 is given, lists only channels that match it. If a nicknam is given, lists only the channels the user using it is on." " If SECRET is specified, lists only channels matching \002pattern\002 that have the +s or +p mode.")); - const Anope::string ®exengine = Config->GetBlock("options")->Get<const Anope::string>("regexengine"); + const Anope::string ®exengine = Config->GetBlock("options")->Get<Anope::string>("regexengine"); if (!regexengine.empty()) { source.Reply(" "); @@ -209,7 +209,7 @@ class CommandOSUserList : public Command "If \002pattern\002 is given, lists only users that match it (it must be in the format nick!user@host)." " If \002channel\002 is given, lists only users that are on the given channel. If INVISIBLE is specified, only users with the +i flag will be listed.")); - const Anope::string ®exengine = Config->GetBlock("options")->Get<const Anope::string>("regexengine"); + const Anope::string ®exengine = Config->GetBlock("options")->Get<Anope::string>("regexengine"); if (!regexengine.empty()) { source.Reply(" "); |