diff options
Diffstat (limited to 'modules/chanserv/xop.cpp')
-rw-r--r-- | modules/chanserv/xop.cpp | 4 |
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); } |