mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-29 20:26:38 +02:00
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.
This commit is contained in:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user