summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/intif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 338e3a1ea..be6b75d96 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -2447,6 +2447,11 @@ void intif_parse_RequestRodexOpenInbox(int fd)
if (sd == NULL) // user is not online anymore
return;
+ if (is_first == false && sd->rodex.total == 0) {
+ ShowError("intif_parse_RodexInboxOpenReceived: mail list received in wrong order.\n");
+ return;
+ }
+
if (is_first)
sd->rodex.total = count;
else