From 84b0859e8dec22a03fa42b822146d7666058c557 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 14 Feb 2025 19:47:33 +0000 Subject: Fix the naming convention of the RPC methods. --- include/modules/rpc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/modules') diff --git a/include/modules/rpc.h b/include/modules/rpc.h index c03a2b8d4..7171b73a8 100644 --- a/include/modules/rpc.h +++ b/include/modules/rpc.h @@ -12,6 +12,7 @@ class RPCRequest final { +private: std::map replies; public: @@ -21,8 +22,8 @@ public: HTTPReply &r; RPCRequest(HTTPReply &_r) : r(_r) { } - inline void reply(const Anope::string &dname, const Anope::string &ddata) { this->replies.emplace(dname, ddata); } - inline const std::map &get_replies() { return this->replies; } + inline void Reply(const Anope::string &dname, const Anope::string &ddata) { this->replies.emplace(dname, ddata); } + inline const auto &GetReplies() { return this->replies; } }; class RPCServiceInterface; -- cgit