Skip to content
Snippets Groups Projects
Commit 88ddbf5b authored by deuce's avatar deuce
Browse files

Add null check.

parent 3b8c7cf6
Branches
Tags
No related merge requests found
......@@ -36,6 +36,8 @@ function get_posts_by(name, subs)
msgs=mb.total_msgs;
for(i=0; i<msgs; i++) {
idx=mb.get_msg_index(true, i);
if (idx == null)
continue;
if(idx.attr & MSG_DELETE)
continue;
if(idx.from==crc) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment