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:
Patrick Griffis 2017-09-19 20:25:17 -04:00
parent 4a09ce6fc3
commit 053003f490
1 changed files with 1 additions and 1 deletions

View File

@ -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)