From 8bb15a3eb1653dad66aec5205163a2a4bfa2f149 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 6 Apr 2007 15:34:18 +0000 Subject: - Corrected Aliza card's item_db line. - Capped clif_heal's heal field (the argument received is int, but the packet field is short, meaning that if the heal is high enough, the client would receive a negative heal amount). - Some indentation fixes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10165 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/login') diff --git a/src/login/login.c b/src/login/login.c index c43db8990..4bf36a566 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1173,10 +1173,10 @@ int mmo_auth(struct mmo_account* account, int fd) len = strlen(account->userid) - 2; // Account creation with _M/_F - if (new_account_flag) + if (new_account_flag) { if (account->passwdenc == 0 && account->userid[len] == '_' && - (account->userid[len+1] == 'F' || account->userid[len+1] == 'M' || + (account->userid[len+1] == 'F' || account->userid[len+1] == 'M' || account->userid[len+1] == 'f' || account->userid[len+1] == 'm') && account_id_count <= END_ACCOUNT_NUM && len >= 4 && strlen(account->passwd) >= 4) { -- cgit v1.2.3-60-g2f50