diff options
author | Flipp <mysteriousragnarok@hotmail.com> | 2013-05-17 15:18:51 -0700 |
---|---|---|
committer | Flipp <mysteriousragnarok@hotmail.com> | 2013-05-17 15:18:51 -0700 |
commit | b3bc657a44a9fbdd1730f569855e25ccd0f8dd01 (patch) | |
tree | ba8dc9ee07be73d2cbb62e0a1f83d29d1fa6b7c8 /src/map/chrif.c | |
parent | 4ef9258f0f618857ed5d9e2f9e07f33dc6d13559 (diff) | |
parent | 9afe7f28d0e3f4c9bc3abba22d8055ae7dc46f45 (diff) | |
download | hercules-b3bc657a44a9fbdd1730f569855e25ccd0f8dd01.tar.gz hercules-b3bc657a44a9fbdd1730f569855e25ccd0f8dd01.tar.bz2 hercules-b3bc657a44a9fbdd1730f569855e25ccd0f8dd01.tar.xz hercules-b3bc657a44a9fbdd1730f569855e25ccd0f8dd01.zip |
Merge pull request #26 from Earisu/master
HPM Update
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 3ba5a20f6..06956e731 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -479,7 +479,7 @@ int chrif_connectack(int fd) { * @see DBApply */ static int chrif_reconnect(DBKey key, DBData *data, va_list ap) { - struct auth_node *node = db_data2ptr(data); + struct auth_node *node = DB->data2ptr(data); switch (node->state) { case ST_LOGIN: @@ -687,7 +687,7 @@ void chrif_authfail(int fd) {/* HELLO WORLD. ip in RFIFOL 15 is not being used ( * @see DBApply */ int auth_db_cleanup_sub(DBKey key, DBData *data, va_list ap) { - struct auth_node *node = db_data2ptr(data); + struct auth_node *node = DB->data2ptr(data); const char* states[] = { "Login", "Logout", "Map change" }; if(DIFF_TICK(gettick(),node->node_created)>60000) { @@ -1596,7 +1596,7 @@ void chrif_send_report(char* buf, int len) { * @see DBApply */ int auth_db_final(DBKey key, DBData *data, va_list ap) { - struct auth_node *node = db_data2ptr(data); + struct auth_node *node = DB->data2ptr(data); if (node->char_dat) aFree(node->char_dat); |