World.time can't possibly be null, and yet...

This commit is contained in:
Arokha Sieyes
2020-04-27 01:21:35 -04:00
parent 47054e6ee5
commit 92a0f94b60

View File

@@ -103,7 +103,7 @@ GLOBAL_DATUM(vchatdb, /database)
var/list/messagedef = list(
"INSERT INTO messages (ckey,worldtime,message) VALUES (?, ?, ?)",
ckey,
world.time,
world.time || 0,
message)
return vchat_exec_update(messagedef)