summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-28 11:11:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-28 11:11:41 +0000
commitebe645e4e1ddddfe037c48277b6282297c4c2287 (patch)
treebd639eec8c0664f33eb9b7c5fd20299fa34310aa /src/login/login.c
parentb6e6915df76739fdaab333059b6201e4a45337bf (diff)
downloadhercules-ebe645e4e1ddddfe037c48277b6282297c4c2287.tar.gz
hercules-ebe645e4e1ddddfe037c48277b6282297c4c2287.tar.bz2
hercules-ebe645e4e1ddddfe037c48277b6282297c4c2287.tar.xz
hercules-ebe645e4e1ddddfe037c48277b6282297c4c2287.zip
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
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c2
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 );