summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-10 19:06:13 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-10 19:06:13 +0000
commitb2eab179f9d7a34e5e1027fd48007005e2b906f2 (patch)
treedea5de98321b12a8db525fb8d85d2dee2cf53014 /src/login_sql
parent09191b769abcca2ce8db3fb4fc225c849d9a3610 (diff)
downloadhercules-b2eab179f9d7a34e5e1027fd48007005e2b906f2.tar.gz
hercules-b2eab179f9d7a34e5e1027fd48007005e2b906f2.tar.bz2
hercules-b2eab179f9d7a34e5e1027fd48007005e2b906f2.tar.xz
hercules-b2eab179f9d7a34e5e1027fd48007005e2b906f2.zip
- 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
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c2
1 files changed, 1 insertions, 1 deletions
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]