mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
Use glob matching for activity_hide_targets
spaces vs tabs! strarray_find* needs to return -1 if no index found
This commit is contained in:
parent
66e9c4bb39
commit
94b823c3cd
3 changed files with 20 additions and 1 deletions
|
|
@ -464,7 +464,7 @@ gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest)
|
|||
|
||||
if (dest->server_tag != NULL) {
|
||||
char *tagtarget = g_strdup_printf("%s/%s", dest->server_tag, dest->target);
|
||||
int ret = strarray_find(array, tagtarget);
|
||||
int ret = strarray_find_glob(array, tagtarget);
|
||||
g_free(tagtarget);
|
||||
if (ret != -1)
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue