Handle leading spaces when matching extra alerts
It is common for users to set "foo, bar" and the leading space has caused issues in the past so lets just ignore that.
This commit is contained in:
@@ -237,7 +237,7 @@ alert_match_word (char *word, char *masks)
|
||||
{
|
||||
endchar = *p;
|
||||
*p = 0;
|
||||
res = match (masks, word);
|
||||
res = match (g_strchug (masks), word);
|
||||
*p = endchar;
|
||||
|
||||
if (res)
|
||||
|
Reference in New Issue
Block a user