1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Merge pull request #11 from ailin-nemui/vague666/activity_hide_targets_tagstar

Allow tag/* in activity_hide_targets
This commit is contained in:
ailin-nemui 2021-08-10 23:46:30 +02:00 committed by GitHub
commit b38d254d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,7 +500,7 @@ gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest)
str += server_tag_len + 1; str += server_tag_len + 1;
} }
if (g_strcmp0(str, "") == 0 || g_strcmp0(str, "::all") == 0) { if (g_strcmp0(str, "*") == 0 || g_strcmp0(str, "::all") == 0) {
return TRUE; return TRUE;
} else if (g_ascii_strcasecmp(str, dest->target) == 0) { } else if (g_ascii_strcasecmp(str, dest->target) == 0) {
return TRUE; return TRUE;