1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 17:23:14 +02:00

Add the rpc_user module.

This commit is contained in:
Sadie Powell
2025-06-01 09:50:29 +01:00
parent b724617a8d
commit d326f869a3
5 changed files with 629 additions and 0 deletions
+23
View File
@@ -906,6 +906,29 @@ module
}
}
/*
* rpc_user
*
* Adds support for the following RPC methods:
*
* anope.checkCredentials anope.identify
* anope.listCommands anope.command
*
* Requires either the jsonrpc or xmlrpc module.
*
* See docs/RPC/rpc_user.md for API documentation.
*/
#module
{
name = "rpc_user"
/*
* Some commands can only be executed by a real IRC user. You can work around
* this executing them as an IRC user logged into the account if one exists.
*/
pretenduser = no
}
/*
* rpc_data
*