1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-27 06:16:37 +02:00
Files
unrealircd/include
Bram Matthys 9efe590a8e Newlog and fishy timestamp handling:
* New macro IsInvalidChannelTS() which evaluates to ts < 750000
* Check for faulty creation time ("fishy timestamp") at ALL places
  where channel->creationtime is set.
* Also, important, changed behavior:
  if !IsInvalidChannelTS then:
  1) We print our warning
  2) We pretend ts is our channel creationtime (which may be
     TStime() if the channel did not previously exist)
  3) We allow the command through and allow it to merge (in case of SJOIN)

This makes it so we still log the error (noisy) but on the other hand
we won't get "infected" by fishy timestamps since we will never set
them, no matter what happens.
2021-08-11 15:29:45 +02:00
..
2021-08-10 14:25:34 +02:00
2002-02-16 20:15:41 +00:00
2016-05-12 16:57:32 +08:00
2000-02-28 22:45:44 +00:00
2021-08-11 15:29:45 +02:00
2004-05-13 16:39:23 +00:00
2021-05-15 15:42:34 +02:00
2018-12-19 13:58:44 +01:00