diff options
Diffstat (limited to 'modules/webcpanel/webcpanel.cpp')
-rw-r--r-- | modules/webcpanel/webcpanel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/webcpanel/webcpanel.cpp b/modules/webcpanel/webcpanel.cpp index abeaa82b0..182e7077f 100644 --- a/modules/webcpanel/webcpanel.cpp +++ b/modules/webcpanel/webcpanel.cpp @@ -58,10 +58,10 @@ public: me = this; - Configuration::Block *block = Config->GetModule(this); - provider_name = block->Get<const Anope::string>("server", "httpd/main"); - template_base = Anope::ExpandData(block->Get<const Anope::string>("template_dir", "webcpanel/templates/default")); - page_title = block->Get<const Anope::string>("title", "Anope IRC Services"); + Configuration::Block &block = Config->GetModule(this); + provider_name = block.Get<const Anope::string>("server", "httpd/main"); + template_base = Anope::ExpandData(block.Get<const Anope::string>("template_dir", "webcpanel/templates/default")); + page_title = block.Get<const Anope::string>("title", "Anope IRC Services"); provider = ServiceReference<HTTPProvider>("HTTPProvider", provider_name); if (!provider) |