From b8431ef147bb1f98ace6dcad5bfaa7d5e0a02897 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 4 Oct 2007 16:16:44 +0000 Subject: * Added MAX_HOTKEYS to supplement the HOTKEY_SAVING define * Fixed a compile problem when hotkey saving is disabled (topic:167265) * Added script source error reporting to countitem() (topic:167165) * Removed integer mob skill state/target definition support (unused) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11353 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 0a06dcb75..f0ca3c29f 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -3034,7 +3034,7 @@ int parse_login(int fd) login_log("Request for connection (encryption mode) of %s (ip: %s).\n", account.userid, ip); memcpy(account.passwd, RFIFOP(fd,30), 16); account.passwd[16] = '\0'; // binary data here } - account.passwdenc = (command != 0x01dd) ? 0 : PASSWORDENC; + account.passwdenc = (command == 0x01dd) ? PASSWORDENC : 0; result = mmo_auth(&account, fd); if( result == -1 ) -- cgit v1.2.3-60-g2f50