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 /message.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 'message.c')
-rw-r--r-- | message.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -950,6 +950,9 @@ int processclientmessage(SSL *server_ssl, char *str, struct client *clients, int sendtoclient(sourcefd, outgoingmsg, clients, settings, 0); } + // And record the time of the last client registration + ircdstate->clientchangetime = time(NULL); + return 1; } |