diff options
Diffstat (limited to 'modules/extra/webcpanel/webcpanel.cpp')
-rw-r--r-- | modules/extra/webcpanel/webcpanel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/webcpanel/webcpanel.cpp b/modules/extra/webcpanel/webcpanel.cpp index ca0b2f93d..88606cf67 100644 --- a/modules/extra/webcpanel/webcpanel.cpp +++ b/modules/extra/webcpanel/webcpanel.cpp @@ -53,10 +53,10 @@ class ModuleWebCPanel : public Module me = this; Configuration::Block *block = Config->GetModule(this); - provider_name = block->Get<const Anope::string &>("server", "httpd/main"); - template_name = block->Get<const Anope::string &>("template", "default"); + provider_name = block->Get<const Anope::string>("server", "httpd/main"); + template_name = block->Get<const Anope::string>("template", "default"); template_base = Anope::DataDir + "/modules/webcpanel/templates/" + template_name; - page_title = block->Get<const Anope::string &>("title", "Anope IRC Services"); + page_title = block->Get<const Anope::string>("title", "Anope IRC Services"); use_ssl = block->Get<bool>("ssl", "no"); // This is dumb, is there a better way to do this? ServiceReference<HTTPProvider> provider("HTTPProvider", provider_name); |