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 /include/modules/rpc.h | |
parent | 8b089ab1a7c91f8de5a7eabf1ad493cbef96282f (diff) |
Move HTTP types to the HTTP namespace.
Diffstat (limited to 'include/modules/rpc.h')
-rw-r--r-- | include/modules/rpc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/rpc.h b/include/modules/rpc.h index 1c3dec811..e4fb9fb59 100644 --- a/include/modules/rpc.h +++ b/include/modules/rpc.h @@ -148,9 +148,9 @@ public: Anope::string name; Anope::string id; std::deque<Anope::string> data; - HTTPReply &reply; + HTTP::Reply &reply; - Request(HTTPReply &r) + Request(HTTP::Reply &r) : reply(r) { } @@ -188,7 +188,7 @@ public: const auto &GetMinParams() const { return minparams; } - virtual bool Run(ServiceInterface *iface, HTTPClient *client, Request &request) = 0; + virtual bool Run(ServiceInterface *iface, HTTP::Client *client, Request &request) = 0; }; struct RPC::Token final |