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:
Jordie
2020-06-14 16:34:41 +10:00
committed by GitHub
parent a39c6c7732
commit 68db4a0c23
+1 -1
View File
@@ -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]"