summaryrefslogtreecommitdiff
path: root/modules/chanserv/xop.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-05-29 17:38:39 -0400
committerAdam <Adam@anope.org>2017-05-29 17:38:39 -0400
commitff81c9bab8e1eddf044d7cb5d06d44b4a43c95d8 (patch)
treebfed822d690999f2c4458a30a65c232210b1e9cc /modules/chanserv/xop.cpp
parent3f143633541a5361bf5b02b0d69b65447aea7b79 (diff)
Fixup some compilation warnings
Diffstat (limited to 'modules/chanserv/xop.cpp')
-rw-r--r--modules/chanserv/xop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/xop.cpp b/modules/chanserv/xop.cpp
index 9373a042b..26de3ec41 100644
--- a/modules/chanserv/xop.cpp
+++ b/modules/chanserv/xop.cpp
@@ -40,7 +40,7 @@ class XOPChanAccessImpl : public XOPChanAccess
public:
using XOPChanAccess::XOPChanAccess;
- const Anope::string &GetType() override;
+ const Anope::string GetType() override;
void SetType(const Anope::string &) override;
bool HasPriv(const Anope::string &priv) override
@@ -109,7 +109,7 @@ class XOPChanAccessType : public ChanAccessType<XOPChanAccessImpl>
}
};
-const Anope::string &XOPChanAccessImpl::GetType()
+const Anope::string XOPChanAccessImpl::GetType()
{
return Get(&XOPChanAccessType::type);
}