From e500258ce4b01bc02539db99c12fa7d9428cb0a6 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 24 Feb 2025 05:46:43 +0000 Subject: Add the rpc_data module. - Add rewritten and namespaced versions of the channel, oper, user events. - Add the following new events: * anope.listChannels * anope.listOpers * anope.listServers * anope.listUsers * anope.server --- docs/RPC/jsonrpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/RPC/jsonrpc.php') diff --git a/docs/RPC/jsonrpc.php b/docs/RPC/jsonrpc.php index a4413b35c..a0a6e9270 100644 --- a/docs/RPC/jsonrpc.php +++ b/docs/RPC/jsonrpc.php @@ -117,7 +117,7 @@ class AnopeRPC */ public function channel($channel) { - return $this->run("channel", [$channel]); + return $this->run("anope.channel", [$channel]); } /** @@ -143,7 +143,7 @@ class AnopeRPC */ public function user($user) { - return $this->run("user", [$user]); + return $this->run("anope.user", [$user]); } } -- cgit