Force all players offline in sql when char-server starts

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7977 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms
2006-07-30 13:31:04 +00:00
parent 8f8581568b
commit 7d36341087
2 changed files with 6 additions and 0 deletions

View File

@@ -1249,6 +1249,10 @@ int mmo_char_sql_init(void) {
//it will dc all off players
//and send the loginserver the new state....
// Force all users offline in sql when starting char-server
// (useful when servers crashs and don't clean the database)
set_all_offline_sql();
ShowInfo("Finished initilizing.......\n");
return 0;