mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-05 10:42:33 +01:00
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:
parent
4a09ce6fc3
commit
053003f490
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user