diff options
Diffstat (limited to 'modules/m_httpd.cpp')
-rw-r--r-- | modules/m_httpd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp index 8498ba2a2..f3125654f 100644 --- a/modules/m_httpd.cpp +++ b/modules/m_httpd.cpp @@ -370,15 +370,15 @@ class HTTPD : public Module Configuration::Block *block = conf->GetBlock("httpd", i); - const Anope::string &hname = block->Get<const Anope::string>("name", "httpd/main"); + const Anope::string &hname = block->Get<Anope::string>("name", "httpd/main"); existing.insert(hname); - Anope::string ip = block->Get<const Anope::string>("ip"); + Anope::string ip = block->Get<Anope::string>("ip"); int port = block->Get<int>("port", "8080"); int timeout = block->Get<int>("timeout", "30"); bool ssl = block->Get<bool>("ssl", "no"); - Anope::string ext_ip = block->Get<const Anope::string>("extforward_ip"); - Anope::string ext_header = block->Get<const Anope::string>("extforward_header"); + Anope::string ext_ip = block->Get<Anope::string>("extforward_ip"); + Anope::string ext_header = block->Get<Anope::string>("extforward_header"); if (ip.empty()) { |