summaryrefslogtreecommitdiff
path: root/data
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 /data
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 'data')
-rw-r--r--data/modules.example.conf16
1 files changed, 16 insertions, 0 deletions
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
@@ -818,6 +818,22 @@ module { name = "sasl" }
}
/*
+ * 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
*
* Adds the main RPC core functions.