summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-11 07:05:05 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-11 07:05:05 +0000
commit1dbe79304e33952023f3219ce6c891f7bad3000a (patch)
treee94092039d99824f9c5f165979e2d69f92c04a69 /src/login
parent3317a790778189da1ad69f75947c519f0d0b3563 (diff)
downloadhercules-1dbe79304e33952023f3219ce6c891f7bad3000a.tar.gz
hercules-1dbe79304e33952023f3219ce6c891f7bad3000a.tar.bz2
hercules-1dbe79304e33952023f3219ce6c891f7bad3000a.tar.xz
hercules-1dbe79304e33952023f3219ce6c891f7bad3000a.zip
Some insignificant code tweaks.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13945 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_txt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/account_txt.c b/src/login/account_txt.c
index 6777c2062..ba3388c57 100644
--- a/src/login/account_txt.c
+++ b/src/login/account_txt.c
@@ -174,7 +174,7 @@ static bool account_db_txt_init(AccountDB* self)
memcpy(tmp, &acc, sizeof(struct mmo_account));
idb_put(accounts, acc.account_id, tmp);
- if( db->next_account_id < acc.account_id)
+ if( acc.account_id >= db->next_account_id )
db->next_account_id = acc.account_id + 1;
}