From bb0a08a67c73be469c130567ec9e6c5b8a4a2963 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 3 Jul 2006 19:59:48 +0000 Subject: - Char-server SQL won't perform the reconnect cleanup routines when kick_on_disconnect is disabled. - Renamed summons_inherit_effects to summons_trigger_autospells as the setting now only makes the attacks of the slaves trigger the autospells of the master (as it should be). - Corrected code capping no_spawn_on_player to 50 when the max should be 100. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7459 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/char_sql/char.c') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 91ded9909..39747dea0 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3767,6 +3767,9 @@ int check_connect_login_server(int tid, unsigned int tick, int id, int data) { WFIFOSET(login_fd,86); + if (!kick_on_disconnect) + return 0; //Do not perform on-connect cleanup duties. + //(re)connected to login-server, //now wi'll look in sql which player's are ON and set them OFF //AND send to all mapservers (if we have one / ..) to kick the players -- cgit v1.2.3-70-g09d2