summaryrefslogtreecommitdiff
path: root/docs/RPC/jsonrpc.php
diff options
context:
space:
mode:
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]);
}
}