diff options
author | Sadie Powell <sadie@witchery.services> | 2025-05-09 12:36:42 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-05-09 12:36:42 +0100 |
commit | b76b407b33973bf1ac00a842b5b325fb8e378170 (patch) | |
tree | 7c909c4d68a6adb452f33999a4c16a014cc1c799 /modules/webcpanel/static_fileserver.h | |
parent | 8b089ab1a7c91f8de5a7eabf1ad493cbef96282f (diff) |
Move HTTP types to the HTTP namespace.
Diffstat (limited to 'modules/webcpanel/static_fileserver.h')
-rw-r--r-- | modules/webcpanel/static_fileserver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webcpanel/static_fileserver.h b/modules/webcpanel/static_fileserver.h index 506dcd13d..de31efb57 100644 --- a/modules/webcpanel/static_fileserver.h +++ b/modules/webcpanel/static_fileserver.h @@ -11,11 +11,11 @@ /* A basic file server. Used for serving static content on disk. */ class StaticFileServer final - : public HTTPPage + : public HTTP::Page { Anope::string file_name; public: StaticFileServer(const Anope::string &f_n, const Anope::string &u, const Anope::string &c_t); - bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) override; + bool OnRequest(HTTP::Provider *, const Anope::string &, HTTP::Client *, HTTP::Message &, HTTP::Reply &) override; }; |