mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Make it more obvious if -pattern wasn't provided to a regexp /ignore
This commit is contained in:
parent
2b6bba3fd2
commit
96701b6c68
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue