From 511e258e901e5248e1706609ba1099507fd750ae Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 11 Jun 2019 22:54:50 +0100 Subject: Implement configurable auto replay modes. So far there is "none", "time" (auto replay the last X seconds), and "lastspoke" (auto replay everything since you last spoke). --- config.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config.c') diff --git a/config.c b/config.c index dd99f2a..94831d1 100644 --- a/config.c +++ b/config.c @@ -202,7 +202,13 @@ int createconfigfile(char *filename) { "# Put channel keywords/passwords after channel names following a space.\n" "#channels = \"#blabouncer keyword,#test\"\n" "\n" - "# How many seconds of replay log should be sent to connecting clients\n" + "# Auto replay mode upon a bouncer client connecting\n" + "# \"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" + "replaymode = \"time\"\n" + "\n" + "# How many seconds of replay log should be sent to connecting clients if replaymode = \"time\"\n" "replayseconds = \"600\"\n" "\n" "# Connect password clients must provided to connect\n" -- cgit v1.2.3