- Removed delete_session from socket.h since it shouldn't be used by them.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9955 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex
2007-03-04 22:51:22 +00:00
parent 5625383530
commit a0bfff19a1
6 changed files with 14 additions and 9 deletions

View File

@@ -3888,8 +3888,10 @@ void do_final(void) {
gm_account = 0;
}
delete_session(login_fd);
delete_session(char_fd);
if (login_fd > 0)
do_close(login_fd);
if (char_fd > 0)
do_close(char_fd);
char_db_->destroy(char_db_, NULL);
online_char_db->destroy(online_char_db, NULL);