From b2eab179f9d7a34e5e1027fd48007005e2b906f2 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 10 Aug 2006 19:06:13 +0000 Subject: - Should have fixed the login-sql crash when passed user-name's length is beyond the limit. - Removed setting mob_ghostring_fix - Changed setting attack_attr_none to affect all neutral-element attacks. Basicly, this setting is now used to determine who can hit for full damage always when using neutral-attacks (defaults to non-players) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8237 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login_sql/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login_sql') diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 7cc240dcf..246e64f41 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1586,7 +1586,7 @@ int parse_login(int fd) { result=mmo_auth(&account, fd); - jstrescapecpy(t_uid,(char*)RFIFOP(fd, 6)); + jstrescapecpy(t_uid,account.userid); if(result==-1){ // as we have queried account level earlier in mmo_auth anyway, no need to do this again [zzo] // int gm_level = isGM(account.account_id); // removed by [zzo] -- cgit v1.2.3-70-g09d2