summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 1550751b..e1da5629 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -379,9 +379,9 @@ select_read(keeploc_t * locmem, int sr_mode)
else if(sr_mode & RS_NEWPOST &&
!strncmp(fhs[i].title, "Re:", 3)) continue;
else if(sr_mode & RS_AUTHOR &&
- strcasestr(fhs[i].owner, keyword)) continue;
+ !strcasestr(fhs[i].owner, keyword)) continue;
else if(sr_mode & RS_KEYWORD &&
- strcasestr(fhs[i].title, keyword)) continue;
+ !strcasestr(fhs[i].title, keyword)) continue;
else if(sr_mode & RS_TITLE &&
strcmp(subject(fhs[i].title), keyword))
continue;