diff options
author | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
commit | 50acad5ce451b44b469890fe46ce14c7ffd031ca (patch) | |
tree | 231101b9e475dacd58b4d03d1a69df9fe7a82f28 /modules/m_httpd.cpp | |
parent | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (diff) |
Unconst these config Get<Anope::string> calls as it makes no sense
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()) { |