diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-01 07:05:16 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-01 07:05:16 +0000 |
commit | a50c6281bbad73cd4155cbf55af4c899c9e2d1ea (patch) | |
tree | 8161ab2ccedc1fcbdac2f719c3f530bf73b9ed1d /src/login | |
parent | 21dbc498aa93746cc8aaf38b7362a58c71addb84 (diff) | |
download | hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.gz hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.bz2 hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.xz hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.zip |
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
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ) |