From a50c6281bbad73cd4155cbf55af4c899c9e2d1ea Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 1 Aug 2008 07:05:16 +0000 Subject: Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915). Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile. Cleaned up some random minor source code glitches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login') diff --git a/src/login/login.c b/src/login/login.c index a36502194..9bcc5ba79 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -913,7 +913,7 @@ int mmo_auth_new(const char* userid, const char* pass, const char sex, const cha acc.sex = sex; safestrncpy(acc.email, "a@a.com", sizeof(acc.email)); acc.expiration_time = ( login_config.start_limited_time != -1 ) ? time(NULL) + login_config.start_limited_time : 0; - safestrncpy(acc.lastlogin, "-", sizeof(acc.lastlogin)); + safestrncpy(acc.lastlogin, "0000-00-00 00:00:00", sizeof(acc.lastlogin)); safestrncpy(acc.last_ip, last_ip, sizeof(acc.last_ip)); if( !accounts->create(accounts, &acc) ) -- cgit v1.2.3-70-g09d2