mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
fix ban note expiry time (#51636)
Expiry time was being inserted as 0000-00-00 00:00:00 when NULL was expected for non-expiring notes.
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
"port" = "[world.port]",
|
||||
"round_id" = GLOB.round_id,
|
||||
"secret" = secret,
|
||||
"expiry" = expiry,
|
||||
"expiry" = expiry || null,
|
||||
"note_severity" = note_severity,
|
||||
))
|
||||
var/pm = "[key_name(usr)] has created a [type][(type == "note" || type == "message" || type == "watchlist entry") ? " for [target_key]" : ""]: [text]"
|
||||
|
||||
Reference in New Issue
Block a user