From 61906329ccbe96c25c75533f819dea269492f5a7 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 16 Jun 2019 23:16:18 +0100 Subject: 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 --- message.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'message.c') diff --git a/message.c b/message.c index 0137fd4..3e79605 100644 --- a/message.c +++ b/message.c @@ -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; } -- cgit v1.2.3