diff options
author | wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-29 03:10:26 +0000 |
---|---|---|
committer | wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-29 03:10:26 +0000 |
commit | 6bf052b6b27325a808d16e3801d3bad8e271688c (patch) | |
tree | cdf4cf5cd84bac23f97f199835124ebbda687e13 /src/char_sql/int_guild.c | |
parent | 47a18a4c48be7213bd162c8544a20310ecc99aee (diff) | |
download | hercules-6bf052b6b27325a808d16e3801d3bad8e271688c.tar.gz hercules-6bf052b6b27325a808d16e3801d3bad8e271688c.tar.bz2 hercules-6bf052b6b27325a808d16e3801d3bad8e271688c.tar.xz hercules-6bf052b6b27325a808d16e3801d3bad8e271688c.zip |
Fixed online system for char not sending players left "online" to login when restarting
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@408 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_guild.c')
-rw-r--r-- | src/char_sql/int_guild.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c index 900e2ceac..007a2eb0d 100644 --- a/src/char_sql/int_guild.c +++ b/src/char_sql/int_guild.c @@ -596,12 +596,6 @@ int inter_guild_sql_init() inter_guild_readdb(); // Read exp - sprintf(tmp_sql,"UPDATE `%s` SET `online`='0'",guild_member_db); - if(mysql_query(&mysql_handle, tmp_sql) ) { - printf("DB server Error (update `char`)- %s\n", mysql_error(&mysql_handle) ); - exit(0); - } - sprintf (tmp_sql , "SELECT count(*) FROM `%s`",guild_db); if(mysql_query(&mysql_handle, tmp_sql) ) { printf("DB server Error - %s\n", mysql_error(&mysql_handle) ); |