summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-04-26 20:15:52 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 13:01:33 +0200
commit1a284890a23188378db268500eb406f5505ff81b (patch)
tree225c681087c44f674bf3597f42b92fd541444c2d /src/map/chrif.c
parente443b683ed7e38648b61e4e52d87e681d194a2b3 (diff)
downloadtmwa-1a284890a23188378db268500eb406f5505ff81b.tar.gz
tmwa-1a284890a23188378db268500eb406f5505ff81b.tar.bz2
tmwa-1a284890a23188378db268500eb406f5505ff81b.tar.xz
tmwa-1a284890a23188378db268500eb406f5505ff81b.zip
Changed all times to use UTC
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 40972f4..05fa603 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -805,7 +805,7 @@ int chrif_accountban(int fd)
char tmpstr[2048];
timestamp = (time_t)RFIFOL(fd,7); // status or final date of a banishment
strcpy(tmpstr, "Your account has been banished until ");
- strftime(tmpstr + strlen(tmpstr), 24, "%d-%m-%Y %H:%M:%S", localtime(&timestamp));
+ strftime(tmpstr + strlen(tmpstr), 24, "%d-%m-%Y %H:%M:%S", gmtime(&timestamp));
clif_displaymessage(sd->fd, tmpstr);
}
clif_setwaitclose(sd->fd); // forced to disconnect for the change