summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 8bd70a737..a3a3e63f5 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1006,7 +1006,7 @@ int chrif_disconnect_sub(struct map_session_data* sd,va_list va) {
int chrif_disconnect(int fd) {
if(fd == char_fd) {
- char_fd = -1;
+ char_fd = 0;
sprintf(tmp_output,"Map Server disconnected from Char Server.\n\n");
ShowWarning(tmp_output);
clif_foreachclient(chrif_disconnect_sub);