summaryrefslogtreecommitdiff
path: root/modules/m_httpd.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
committerSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
commit6538641e8703084460df70d04196ac271eff1266 (patch)
tree2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /modules/m_httpd.cpp
parenteb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff)
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/m_httpd.cpp')
-rw-r--r--modules/m_httpd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp
index e1f3cceba..a2bb074d4 100644
--- a/modules/m_httpd.cpp
+++ b/modules/m_httpd.cpp
@@ -89,7 +89,7 @@ class MyHTTPClient : public HTTPClient
this->SendReply(&reply);
}
- public:
+public:
time_t created;
MyHTTPClient(HTTPProvider *l, int f, const sockaddrs &a) : Socket(f, l->GetFamily()), HTTPClient(l, f, a), provider(l), ip(a.addr()), created(Anope::CurTime)
@@ -288,7 +288,7 @@ class MyHTTPProvider : public HTTPProvider, public Timer
std::map<Anope::string, HTTPPage *> pages;
std::list<Reference<MyHTTPClient> > clients;
- public:
+public:
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 ? AF_INET : AF_INET6), HTTPProvider(c, n, i, p, s), Timer(c, 10, Anope::CurTime, true), timeout(t) { }
void Tick(time_t) override
@@ -333,7 +333,7 @@ class HTTPD : public Module
{
ServiceReference<SSLService> sslref;
std::map<Anope::string, MyHTTPProvider *> providers;
- public:
+public:
HTTPD(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR), sslref("SSLService", "ssl")
{