mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/NOTIFY printed '!' character after nick if mask was given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1715 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
055f314e31
commit
f124f07a4e
@ -44,7 +44,7 @@ static GSList *mask_add_once(GSList *list, const char *mask)
|
|||||||
|
|
||||||
ptr = strchr(mask, '!');
|
ptr = strchr(mask, '!');
|
||||||
str = ptr == NULL ? g_strdup(mask) :
|
str = ptr == NULL ? g_strdup(mask) :
|
||||||
g_strndup(mask, (int) (ptr-mask)+1);
|
g_strndup(mask, (int) (ptr-mask));
|
||||||
|
|
||||||
if (gslist_find_icase_string(list, str) == NULL)
|
if (gslist_find_icase_string(list, str) == NULL)
|
||||||
return g_slist_append(list, str);
|
return g_slist_append(list, str);
|
||||||
|
Loading…
Reference in New Issue
Block a user