diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:27:01 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:34:17 +0000 |
commit | c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (patch) | |
tree | 5183b6cb982dadb2b91987ff7b69486ea8d811df /modules/httpd.cpp | |
parent | e341cac8d6565044f7390852afb40c5e388121df (diff) |
Fix some coding style issues.
Diffstat (limited to 'modules/httpd.cpp')
-rw-r--r-- | modules/httpd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/httpd.cpp b/modules/httpd.cpp index 5c7a74ff5..b2eed517d 100644 --- a/modules/httpd.cpp +++ b/modules/httpd.cpp @@ -313,7 +313,7 @@ public: } } - ClientSocket* OnAccept(int fd, const sockaddrs &addr) override + ClientSocket *OnAccept(int fd, const sockaddrs &addr) override { auto *c = new MyHTTPClient(this, fd, addr); this->clients.emplace_back(c); @@ -330,7 +330,7 @@ public: this->pages.erase(page->GetURL()); } - HTTPPage* FindPage(const Anope::string &pname) override + HTTPPage *FindPage(const Anope::string &pname) override { if (this->pages.count(pname) == 0) return NULL; |