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 --- data/modules.example.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'data') diff --git a/data/modules.example.conf b/data/modules.example.conf index ebf2f3527..e360e9310 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -817,6 +817,22 @@ module { name = "sasl" } server = "httpd/main" } +/* + * rpc_data + * + * Adds support for the following RPC methods: + * + * anope.listChannels anope.channel + * anope.listOpers anope.oper + * anope.listServers anope.server + * anope.listUsers anope.user + * + * Requires either the jsonrpc or xmlrpc module. + * + * See docs/RPC/rpc_data.md for API documentation. + */ +#module { name = "rpc_data" } + /* * rpc_main * -- cgit