Fixed online system for char not sending players left "online" to login when restarting

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@408 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
wizputer
2004-11-29 03:10:26 +00:00
parent 6038e48ed4
commit 48d6db7a75
4 changed files with 16 additions and 26 deletions

View File

@@ -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) );