From 053003f490aaf876c01fa0fa8c64674436aee048 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Tue, 19 Sep 2017 20:25:17 -0400 Subject: [PATCH] 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. --- src/common/inbound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/inbound.c b/src/common/inbound.c index 86442fa8..6931bdc1 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -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)