summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-06-16 23:16:18 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-06-16 23:16:18 +0100
commit61906329ccbe96c25c75533f819dea269492f5a7 (patch)
tree647e407cb483fc13a26e616891c7504788bed813 /config.c
parent87b890b501a9ed7bfbfbe0fabde6ca1ca4c15086 (diff)
Implement two new auto replay modes:
- replaymode = "noclients": All messages since the bouncer last had no clients connected - replaymode = "lastchange": All messages since the last client connect or disconnect
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 9a144cd..6246789 100644
--- a/config.c
+++ b/config.c
@@ -178,6 +178,8 @@ int createconfigfile(char *filename) {
"# \"none\" = Don't auto replay\n"
"# \"time\" = Always send the last \"replayseconds\" worth of logs\n"
"# \"lastspoke\" = All messages since your current nick last spoke\n"
+ "# \"noclients\" = All messages since you last had no clients connected\n"
+ "# \"lastchange\" = All messages since your last client connection/disconnection\n"
"replaymode = \"time\"\n"
"\n"
"# How many seconds of replay log should be sent to connecting clients if replaymode = \"time\"\n"