1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 16:23:13 +02:00

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
This commit is contained in:
Sadie Powell
2025-02-24 05:46:43 +00:00
parent 801a748e25
commit e500258ce4
6 changed files with 773 additions and 148 deletions
+2 -2
View File
@@ -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]);
}
}