summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-04-30 00:22:22 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-04-30 00:22:22 +0000
commitc87c4839de9893ce3c55e5018fea9021eb14b5e3 (patch)
tree57a1a9d3324e45f68d3f0f98e452b0bf34ff5d17 /src/login
parent75176f384099d90c1624df3c7878192ffd070663 (diff)
downloadhercules-c87c4839de9893ce3c55e5018fea9021eb14b5e3.tar.gz
hercules-c87c4839de9893ce3c55e5018fea9021eb14b5e3.tar.bz2
hercules-c87c4839de9893ce3c55e5018fea9021eb14b5e3.tar.xz
hercules-c87c4839de9893ce3c55e5018fea9021eb14b5e3.zip
- Fixed a typo in guildrelay.txt (bugreport:4213)
- Forced acc.lastlogin to use MySQL DATETIME format. (bugreport:4193) - Fixed the range of getiteminfo and setiteminfo. (bugreport:4190) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 7cb00c888..59a110348 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1018,7 +1018,7 @@ int mmo_auth(struct login_session_data* sd)
sd->level = acc.level;
// update account data
- timestamp2string(acc.lastlogin, sizeof(acc.lastlogin), time(NULL), login_config.date_format);
+ timestamp2string(acc.lastlogin, sizeof(acc.lastlogin), time(NULL), "%Y-%m-%d %H:%M:%S");
safestrncpy(acc.last_ip, ip, sizeof(acc.last_ip));
acc.unban_time = 0;
acc.logincount++;