summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 87f558066..f731166ae 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -297,7 +297,7 @@ void set_char_offline(int char_id, int account_id)
}
}
- if (login_fd > 0 && !session[login_fd]->flag.eof && (character->fd != -1 && character->char_id != -1))
+ if (login_fd > 0 && !session[login_fd]->flag.eof && character->char_id != -1)
{
WFIFOHEAD(login_fd,6);
WFIFOW(login_fd,0) = 0x272c;