diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-06-16 23:16:18 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-06-16 23:16:18 +0100 |
commit | 61906329ccbe96c25c75533f819dea269492f5a7 (patch) | |
tree | 647e407cb483fc13a26e616891c7504788bed813 /config.c | |
parent | 87b890b501a9ed7bfbfbe0fabde6ca1ca4c15086 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |