summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 15:33:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 15:33:59 +0000
commitd042f7cfd71139195cf43534e93df18b009b1070 (patch)
tree32b141651c85b8989808804deb3f087aa51676bc /src/login_sql/login.c
parente997d4f135355b1334f31242e9f76fae46a2deec (diff)
downloadhercules-d042f7cfd71139195cf43534e93df18b009b1070.tar.gz
hercules-d042f7cfd71139195cf43534e93df18b009b1070.tar.bz2
hercules-d042f7cfd71139195cf43534e93df18b009b1070.tar.xz
hercules-d042f7cfd71139195cf43534e93df18b009b1070.zip
- Fixed mysql ping setting being in minutes rather than hours.
- Removed npc_event_sub from npc.h and moved it to npc.c - Cleaned up #warp to prevent spitting non-walkable tile warnings. - Changed the meaning of msg_athena 2, it is now "invalid target cell, randomizing". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6114 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r--src/login_sql/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index d5819434d..7c1faf0aa 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -407,8 +407,8 @@ int mmo_auth_sqldb_init(void) {
if (connection_ping_interval) {
add_timer_func_list(login_sql_ping, "login_sql_ping");
- add_timer_interval(gettick()+connection_ping_interval*60*1000,
- login_sql_ping, 0, 0, connection_ping_interval*60*1000);
+ add_timer_interval(gettick()+connection_ping_interval*60*60*1000,
+ login_sql_ping, 0, 0, connection_ping_interval*60*60*1000);
}
return 0;
}