Fix for Mail Crash

This commit is contained in:
Andrew Pamment 2016-03-31 20:47:52 +10:00
parent 1950a9f8c9
commit b1d0c15ff5

View File

@ -1212,16 +1212,17 @@ int mail_menu(int socket, struct user_record *user) {
} }
} }
} }
} else {
s_putstring(socket, "\r\nThere is no mail in this area\r\n");
}
}
if (closed == 0) { if (closed == 0) {
JAM_CloseMB(jb); JAM_CloseMB(jb);
} }
if (msghs != NULL) { if (msghs != NULL) {
free_message_headers(msghs); free_message_headers(msghs);
} }
} else {
s_putstring(socket, "\r\nThere is no mail in this area\r\n");
}
}
break; break;
case 'c': case 'c':
{ {