commit 1ba28625784be33b4110f20fc50ef080efec9aa1
parent c3257a06aa015370b4b6c50151789f2404819e20
Author: hhvn <dev@hhvn.uk>
Date: Sat, 18 Dec 2021 16:42:28 +0000
s/config.c: RPL_LOCAUSERS and RPL_GLOBALUSERS default formats
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/config.c b/src/config.c
@@ -1074,6 +1074,16 @@ struct Config config[] = {
"Format of ERR_USERSDONTMATCH (502) numeric", NULL}},
/* END: misc/rpl-conf-gen.awk */
/* Modern numerics */
+ {"format.rpl.localusers", 1, Val_string,
+ .str = "There are ${2} current local users, record of ${3}",
+ .strhandle = config_redraws,
+ .description = {
+ "Format of RPL_WHOISSPECIAL (320) numeric", NULL}},
+ {"format.rpl.globalusers", 1, Val_string,
+ .str = "There are ${2} current global users, record of ${3}",
+ .strhandle = config_redraws,
+ .description = {
+ "Format of RPL_WHOISSPECIAL (320) numeric", NULL}},
{"format.rpl.whoisspecial", 1, Val_string,
.str = " %{b}info %{b}: ${3}",
.strhandle = config_redraws,