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 /include | |
parent | 154fa25e8fc33c2ce77cb0612c1587cec4f32300 (diff) |
Remove webpanel:ssl configuration option because its dumb
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/httpd.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h index 6127a51e0..a2f5af04a 100644 --- a/include/modules/httpd.h +++ b/include/modules/httpd.h @@ -131,11 +131,12 @@ class HTTPProvider : public ListenSocket, public Service { Anope::string ip; unsigned short port; + bool ssl; public: Anope::string ext_ip; std::vector<Anope::string> ext_headers; - HTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p) : ListenSocket(i, p, i.find(':') != Anope::string::npos), Service(c, "HTTPProvider", n), ip(i), port(p) { } + HTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, bool s) : ListenSocket(i, p, i.find(':') != Anope::string::npos), Service(c, "HTTPProvider", n), ip(i), port(p), ssl(s) { } const Anope::string &GetIP() const { @@ -147,6 +148,11 @@ class HTTPProvider : public ListenSocket, public Service return this->port; } + bool IsSSL() const + { + return this->ssl; + } + virtual bool RegisterPage(HTTPPage *page) = 0; virtual void UnregisterPage(HTTPPage *page) = 0; virtual HTTPPage* FindPage(const Anope::string &name) = 0; |