summaryrefslogtreecommitdiff
path: root/modules/webcpanel/pages/hostserv/request.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-05-09 12:36:42 +0100
committerSadie Powell <sadie@witchery.services>2025-05-09 12:36:42 +0100
commitb76b407b33973bf1ac00a842b5b325fb8e378170 (patch)
tree7c909c4d68a6adb452f33999a4c16a014cc1c799 /modules/webcpanel/pages/hostserv/request.cpp
parent8b089ab1a7c91f8de5a7eabf1ad493cbef96282f (diff)
Move HTTP types to the HTTP namespace.
Diffstat (limited to 'modules/webcpanel/pages/hostserv/request.cpp')
-rw-r--r--modules/webcpanel/pages/hostserv/request.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webcpanel/pages/hostserv/request.cpp b/modules/webcpanel/pages/hostserv/request.cpp
index 35bc61610..6eb85e920 100644
--- a/modules/webcpanel/pages/hostserv/request.cpp
+++ b/modules/webcpanel/pages/hostserv/request.cpp
@@ -11,12 +11,12 @@ WebCPanel::HostServ::Request::Request(const Anope::string &cat, const Anope::str
{
}
-bool WebCPanel::HostServ::Request::OnRequest(HTTPProvider *server, const Anope::string &page_name, HTTPClient *client, HTTPMessage &message, HTTPReply &reply, NickAlias *na, TemplateFileServer::Replacements &replacements)
+bool WebCPanel::HostServ::Request::OnRequest(HTTP::Provider *server, const Anope::string &page_name, HTTP::Client *client, HTTP::Message &message, HTTP::Reply &reply, NickAlias *na, TemplateFileServer::Replacements &replacements)
{
if (message.post_data.count("req") > 0)
{
std::vector<Anope::string> params;
- params.push_back(HTTPUtils::URLDecode(message.post_data["req"]));
+ params.push_back(HTTP::URLDecode(message.post_data["req"]));
WebPanel::RunCommand(client, na->nc->display, na->nc, "HostServ", "hostserv/request", params, replacements, "CMDR");
}