Merge pull request #7477 from VOREStation/aro-vcdbsafe

World.time can't possibly be null, and yet...
This commit is contained in:
Aronai Sieyes
2020-04-27 09:53:58 -04:00
committed by GitHub

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)