diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/rpc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/modules/rpc.h b/include/modules/rpc.h index cd0578729..52d1d6492 100644 --- a/include/modules/rpc.h +++ b/include/modules/rpc.h @@ -38,6 +38,8 @@ namespace RPC ERR_METHOD_NOT_FOUND = -32601, ERR_INVALID_PARAMS = -32602, }; + + static ServiceReference<RPC::ServiceInterface> service("RPC::ServiceInterface", "rpc"); } class RPC::Array final @@ -196,8 +198,8 @@ class RPC::ServiceInterface : public Service { public: - ServiceInterface(Module *creator, const Anope::string &sname) - : Service(creator, "RPCServiceInterface", sname) + ServiceInterface(Module *creator) + : Service(creator, "RPC::ServiceInterface", "rpc") { } |