summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-03 19:59:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-03 19:59:48 +0000
commitbb0a08a67c73be469c130567ec9e6c5b8a4a2963 (patch)
treedce696635219fd87cdc01fe6a04718a55b217f0f /src/char_sql
parent695aa3dbc9810b7ad25f2eb4e1c3eb92ba6926f3 (diff)
downloadhercules-bb0a08a67c73be469c130567ec9e6c5b8a4a2963.tar.gz
hercules-bb0a08a67c73be469c130567ec9e6c5b8a4a2963.tar.bz2
hercules-bb0a08a67c73be469c130567ec9e6c5b8a4a2963.tar.xz
hercules-bb0a08a67c73be469c130567ec9e6c5b8a4a2963.zip
- 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
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c3
1 files changed, 3 insertions, 0 deletions
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