summaryrefslogtreecommitdiff
path: root/modules/webcpanel/static_fileserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel/static_fileserver.h')
-rw-r--r--modules/webcpanel/static_fileserver.h4
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;
};