summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/hostserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients/hostserv.cpp')
-rw-r--r--modules/pseudoclients/hostserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/hostserv.cpp b/modules/pseudoclients/hostserv.cpp
index acca6f7ff..cd3c84d55 100644
--- a/modules/pseudoclients/hostserv.cpp
+++ b/modules/pseudoclients/hostserv.cpp
@@ -33,7 +33,7 @@ class HostServCore : public Module
void OnReload(Configuration::Conf *conf) anope_override
{
- const Anope::string &hsnick = conf->GetModule(this)->Get<const Anope::string &>("client");
+ const Anope::string &hsnick = conf->GetModule(this)->Get<const Anope::string>("client");
if (hsnick.empty())
throw ConfigException(this->name + ": <client> must be defined");