1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04: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:
Timo Sirainen 2001-08-08 12:50:49 +00:00 committed by cras
parent 055f314e31
commit f124f07a4e

View File

@ -44,7 +44,7 @@ static GSList *mask_add_once(GSList *list, const char *mask)
ptr = strchr(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)
return g_slist_append(list, str);