From 5fda19cd729544374352bc7f76be5a960caeb8e1 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Thu, 4 May 2017 19:01:39 -0700 Subject: [PATCH] fix client age thingy --- code/modules/client/client_procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index eb7665f860f..f4f7b2ad474 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -421,7 +421,7 @@ GLOBAL_LIST(external_rsc_urls) if(!account_join_date) account_age = -1 else - var/datum/DBQuery/query_datediff = SSdbcore.NewQuery("SELECT DATEDIFF(Now(),accountjoindate)") + var/datum/DBQuery/query_datediff = SSdbcore.NewQuery("SELECT DATEDIFF(Now(),[account_join_date])") if(!query_datediff.Execute()) return if(query_datediff.NextRow())