summaryrefslogtreecommitdiff
path: root/include/modules/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/httpd.h')
-rw-r--r--include/modules/httpd.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h
index 430336236..c755e9dd2 100644
--- a/include/modules/httpd.h
+++ b/include/modules/httpd.h
@@ -93,7 +93,8 @@ struct HTTPMessage
class HTTPClient;
class HTTPProvider;
-class HTTPPage : public virtual Base
+class HTTPPage
+ : public virtual Base
{
Anope::string url;
Anope::string content_type;
@@ -115,7 +116,10 @@ public:
virtual bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) = 0;
};
-class HTTPClient : public ClientSocket, public BinarySocket, public Base
+class HTTPClient
+ : public ClientSocket
+ , public BinarySocket
+ , public Base
{
protected:
void WriteClient(const Anope::string &message)
@@ -135,7 +139,9 @@ public:
virtual void SendReply(HTTPReply *) = 0;
};
-class HTTPProvider : public ListenSocket, public Service
+class HTTPProvider
+ : public ListenSocket
+ , public Service
{
Anope::string ip;
unsigned short port;