1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 01:56:38 +02:00

Remove webpanel:ssl configuration option because its dumb

This commit is contained in:
Adam
2013-08-23 01:14:00 -04:00
parent 154fa25e8f
commit 4d1492d444
10 changed files with 17 additions and 19 deletions
+2 -4
View File
@@ -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);