From ebe645e4e1ddddfe037c48277b6282297c4c2287 Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 28 Nov 2007 11:11:41 +0000 Subject: Fixed a typo in r11826 messing up TXT gm account loading. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11834 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 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 ); -- cgit v1.2.3-70-g09d2