mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Make it more obvious if -pattern wasn't provided to a regexp /ignore
This commit is contained in:
parent
2b6bba3fd2
commit
96701b6c68
@ -56,8 +56,10 @@ static void ignore_print(int index, IGNORE_REC *rec)
|
||||
if (rec->exception) g_string_append(options, "-except ");
|
||||
if (rec->regexp) {
|
||||
g_string_append(options, "-regexp ");
|
||||
if (rec->pattern == NULL)
|
||||
g_string_append(options, "[INVALID! -pattern missing] ");
|
||||
#ifdef HAVE_REGEX_H
|
||||
if (!rec->regexp_compiled)
|
||||
else if (!rec->regexp_compiled)
|
||||
g_string_append(options, "[INVALID!] ");
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user