summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/intif.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index be82a7583..fc38e82e3 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1567,10 +1567,8 @@ void intif_parse_MailInboxReceived(int fd) {
sd = map->charid2sd(RFIFOL(fd,4));
- if (sd == NULL) {
- ShowError("intif_parse_MailInboxReceived: char not found %d\n",RFIFOL(fd,4));
+ if (sd == NULL) /** user is not online anymore and its ok (quest log also does this) **/
return;
- }
if (RFIFOW(fd,2) - 9 != sizeof(struct mail_data)) {
ShowError("intif_parse_MailInboxReceived: data size mismatch %d != %"PRIuS"\n", RFIFOW(fd,2) - 9, sizeof(struct mail_data));