diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/login.c b/src/login/login.c index f992054aa..2b1650e2c 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -159,7 +159,7 @@ char gm_pass[64] = ""; int level_new_gm = 60; -static struct dbt *online_db; +static DBMap* online_db; // int account_id -> struct online_login_data* int charif_sendallwos(int sfd, unsigned char *buf, unsigned int len); @@ -3938,7 +3938,7 @@ int do_init(int argc, char** argv) server_fd[i] = -1; // Online user database init - online_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_RELEASE_DATA,sizeof(int)); + online_db = idb_alloc(DB_OPT_RELEASE_DATA); add_timer_func_list(waiting_disconnect_timer, "waiting_disconnect_timer"); // Auth init |