fix #H5264 fix

MSGTYPE handling was being suppressed, except during prompting when
it was intended to be suppressed.
This commit is contained in:
PatR
2017-04-05 12:44:55 -07:00
parent b708f8b39b
commit e1fbfcc8b5
2 changed files with 2 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ VA_DECL(const char *, line)
if ((pline_flags & SUPPRESS_HISTORY) == 0)
dumplogmsg(line);
#endif
if ((pline_flags & OVERRIDE_MSGTYPE) != 0) {
if ((pline_flags & OVERRIDE_MSGTYPE) == 0) {
msgtyp = msgtype_type(line, no_repeat);
if (msgtyp == MSGTYP_NOSHOW
|| (msgtyp == MSGTYP_NOREP && !strcmp(line, prevmsg)))