summaryrefslogtreecommitdiff
path: root/docs/RPC/jsonrpc.php
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-02-24 05:46:43 +0000
committerSadie Powell <sadie@witchery.services>2025-02-25 19:59:23 +0000
commite500258ce4b01bc02539db99c12fa7d9428cb0a6 (patch)
tree5a9fd3900ad3104741b61a907c3f8f2a99323f35 /docs/RPC/jsonrpc.php
parent801a748e256cb7c4952969103f2f2eaf5ee36552 (diff)
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
Diffstat (limited to 'docs/RPC/jsonrpc.php')
-rw-r--r--docs/RPC/jsonrpc.php4
1 files changed, 2 insertions, 2 deletions
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]);
}
}