diff options
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index df80e69ee..844549c6a 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -204,7 +204,7 @@ void addGM(int account_id, int level) unsigned int i; ARR_FIND( 0, auth_num, i, auth_dat[i].account_id == account_id ); - if( i < auth_num ) + if( i == auth_num ) return; // no such account ARR_FIND( 0, GM_num, i, gm_account_db[i].account_id == account_id ); |