diff options
| author | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
| commit | 6538641e8703084460df70d04196ac271eff1266 (patch) | |
| tree | 2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /include/modules/httpd.h | |
| parent | eb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff) | |
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'include/modules/httpd.h')
| -rw-r--r-- | include/modules/httpd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h index 207499d3b..b84cb728f 100644 --- a/include/modules/httpd.h +++ b/include/modules/httpd.h @@ -98,7 +98,7 @@ class HTTPPage : public virtual Base Anope::string url; Anope::string content_type; - public: +public: HTTPPage(const Anope::string &u, const Anope::string &ct = "text/html") : url(u), content_type(ct) { } const Anope::string &GetURL() const { return this->url; } @@ -117,13 +117,13 @@ class HTTPPage : public virtual Base class HTTPClient : public ClientSocket, public BinarySocket, public Base { - protected: +protected: void WriteClient(const Anope::string &message) { BinarySocket::Write(message + "\r\n"); } - public: +public: HTTPClient(ListenSocket *l, int f, const sockaddrs &a) : ClientSocket(l, a), BinarySocket() { } virtual const Anope::string GetIP() @@ -140,7 +140,7 @@ class HTTPProvider : public ListenSocket, public Service Anope::string ip; unsigned short port; bool ssl; - public: +public: std::vector<Anope::string> ext_ips; std::vector<Anope::string> ext_headers; |
