diff options
| author | Adam <Adam@anope.org> | 2013-08-23 01:14:00 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-08-23 01:14:00 -0400 |
| commit | 4d1492d444781069883f82ce00b389bb0ecd5099 (patch) | |
| tree | 235163615b27ea8449dfb7c33a3f121cc9ea6d6c /modules/extra/m_httpd.cpp | |
| parent | 154fa25e8fc33c2ce77cb0612c1587cec4f32300 (diff) | |
Remove webpanel:ssl configuration option because its dumb
Diffstat (limited to 'modules/extra/m_httpd.cpp')
| -rw-r--r-- | modules/extra/m_httpd.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/extra/m_httpd.cpp b/modules/extra/m_httpd.cpp index bdb3ed602..50eaa3a77 100644 --- a/modules/extra/m_httpd.cpp +++ b/modules/extra/m_httpd.cpp @@ -291,9 +291,7 @@ class MyHTTPProvider : public HTTPProvider, public Timer std::list<Reference<MyHTTPClient> > clients; public: - bool ssl; - - MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t, bool s) : Socket(-1, i.find(':') != Anope::string::npos), HTTPProvider(c, n, i, p), Timer(c, 10, Anope::CurTime, true), timeout(t), ssl(s) { } + MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t, bool s) : Socket(-1, i.find(':') != Anope::string::npos), HTTPProvider(c, n, i, p, s), Timer(c, 10, Anope::CurTime, true), timeout(t) { } void Tick(time_t) anope_override { @@ -461,7 +459,7 @@ class HTTPD : public Module { MyHTTPProvider *p = it->second; - if (p->ssl && sslref) + if (p->IsSSL() && sslref) try { sslref->Init(p); |
