summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c3
-rw-r--r--src/char_sql/char.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 52d53e64f..dbd54fe6d 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2295,10 +2295,11 @@ int parse_fromlogin(int fd)
WFIFOSET(i,3);
set_eof(i);
}
- else //Shouldn't happen, but just in case.
+ else // still moving to the map-server
set_char_offline(-1, aid);
}
}
+ idb_remove(auth_db, aid);// reject auth attempts from map-server
}
break;
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 93a7563d2..bc934216a 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1904,10 +1904,11 @@ int parse_fromlogin(int fd)
WFIFOSET(i,3);
set_eof(i);
}
- else //Shouldn't happen, but just in case.
+ else // still moving to the map-server
set_char_offline(-1, aid);
}
}
+ idb_remove(auth_db, aid);// reject auth attempts from map-server
}
break;