mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-26 12:36:37 +02:00
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
/* This file will load all UnrealIRCd modules needed for JSON-RPC,
|
|
* this allows remote (web) endpoints to query and control UnrealIRCd.
|
|
* To actually use it, you would also need one or more rpc-user blocks
|
|
* and one or more special listen blocks, see the documentation at
|
|
* https://www.unrealircd.org/docs/JSON-RPC.
|
|
*
|
|
* You can include this file from your unrealircd.conf, using:
|
|
* include "rpc.modules.default.conf";
|
|
*
|
|
* DO NOT EDIT THIS FILE! IT WILL BE OVERWRITTEN DURING NEXT UPGRADE!!
|
|
* If you want to customize the modules to load you have two options:
|
|
* 1) Keep the include for rpc.modules.default.conf as usual and make use
|
|
* of blacklist-module "xyz"; to selectively disable modules.
|
|
* See https://www.unrealircd.org/docs/Blacklist-module_directive
|
|
* 2) OR, make a copy of this file (eg: name it rpc.modules.custom.conf)
|
|
* and edit it. Then include that file from your unrealircd.conf
|
|
* instead of this one.
|
|
* The downside of option #2 is that you will need to track changes
|
|
* in the original rpc.modules.default.conf with each new UnrealIRCd
|
|
* release to make sure you don't miss any new functionality (as new
|
|
* important modules may be added you need to add them to your conf).
|
|
* You don't have this problem with option #1.
|
|
*/
|
|
|
|
/* These are required for RPC to work */
|
|
loadmodule "webserver";
|
|
loadmodule "websocket_common";
|
|
loadmodule "rpc/rpc";
|
|
|
|
/* Now the actual RPC call handlers */
|
|
loadmodule "rpc/user";
|
|
loadmodule "rpc/channel";
|
|
loadmodule "rpc/server_ban";
|
|
loadmodule "rpc/spamfilter";
|