From ec6062bc53fc5de078f8ac3aa6bb4e5425dc2124 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 14 Aug 2021 14:41:39 +0200 Subject: [PATCH] Slightly change the log message for the other case which previous caused a bounce, or was supposed to (never really worked either). We now ignore the mode (which was de-facto what we did anyway) and also log it in that way. --- src/modules/mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/mode.c b/src/modules/mode.c index 316fd6080..34bf09b5e 100644 --- a/src/modules/mode.c +++ b/src/modules/mode.c @@ -239,11 +239,11 @@ CMD_FUNC(cmd_mode) { if (!(*parv[2] == '&')) /* & denotes a bounce */ { - unreal_log(ULOG_INFO, "mode", "MODE_TS_BOUNCE", client, - "TS bounce for $channel: ours=$channel.creationtime, theirs=$their_ts", + unreal_log(ULOG_INFO, "mode", "MODE_TS_IGNORED", client, + "MODE change ignored for $channel from $client: " + "timestamp mismatch, ours=$channel.creationtime, theirs=$their_ts", log_data_channel("channel", channel), log_data_integer("their_ts", sendts)); - bounce_mode(channel, client, parc - 2, parv + 2); } return; }