summaryrefslogtreecommitdiff
path: root/modules/commands/cs_xop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_xop.cpp')
-rw-r--r--modules/commands/cs_xop.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp
index 1e1cd0646..9efde866c 100644
--- a/modules/commands/cs_xop.cpp
+++ b/modules/commands/cs_xop.cpp
@@ -557,13 +557,13 @@ class CSXOP : public Module
for (int i = 0; i < conf->CountBlock("privilege"); ++i)
{
Configuration::Block *block = conf->GetBlock("privilege", i);
- const Anope::string &pname = block->Get<const Anope::string &>("name");
+ const Anope::string &pname = block->Get<const Anope::string>("name");
Privilege *p = PrivilegeManager::FindPrivilege(pname);
if (p == NULL)
continue;
- const Anope::string &xop = block->Get<const Anope::string &>("xop");
+ const Anope::string &xop = block->Get<const Anope::string>("xop");
if (pname.empty() || xop.empty())
continue;
@@ -573,8 +573,8 @@ class CSXOP : public Module
for (int i = 0; i < conf->CountBlock("command"); ++i)
{
Configuration::Block *block = conf->GetBlock("command", i);
- const Anope::string &cname = block->Get<const Anope::string &>("name"),
- &cserv = block->Get<const Anope::string &>("command");
+ const Anope::string &cname = block->Get<const Anope::string>("name"),
+ &cserv = block->Get<const Anope::string>("command");
if (cname.empty() || cserv != "chanserv/xop")
continue;