summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1fad6f4dc..ef5cbb7ec 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -599,7 +599,7 @@ int mmo_auth( struct mmo_account* account , int fd){
jstrescapecpy(t_uid,account->userid);
- if (account.passwdenc==PASSWORDENC) {
+ if (account->passwdenc==PASSWORDENC) {
memset(t_pass, 0, sizeof(t_pass));
memcpy(t_pass, account->passwd, strlen(account->passwd));
} else