diff options
| author | Luke Bratch <luke@bratch.co.uk> | 2019-06-11 22:54:50 +0100 | 
|---|---|---|
| committer | Luke Bratch <luke@bratch.co.uk> | 2019-06-11 22:54:50 +0100 | 
| commit | 511e258e901e5248e1706609ba1099507fd750ae (patch) | |
| tree | 4c7ee92fbe3634e7c78579657a023948a1a6bbae /config.c | |
| parent | 9db9fb396aaf601bd00f2b62face2693307a0e16 (diff) | |
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).
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 8 | 
1 files changed, 7 insertions, 1 deletions
| @@ -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" | 
