any other way to do that? (gpointer) dest->target?

This commit is contained in:
Jari Matilainen 2017-01-13 21:13:09 +00:00
commit e63e0b653a

View file

@ -498,7 +498,7 @@ gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest)
targets = g_slist_append(targets, "*"); targets = g_slist_append(targets, "*");
if (type & WI_TYPE_CHANNEL) { if (type & WI_TYPE_CHANNEL) {
targets = g_slist_append(targets, "#"); targets = g_slist_append(targets, "#");
targets = g_slist_append(targets, dest->target); targets = g_slist_append(targets, g_strdup(dest->target));
} }
else if (type & WI_TYPE_QUERY) { else if (type & WI_TYPE_QUERY) {
if (type & WI_TYPE_DCCCHAT) if (type & WI_TYPE_DCCCHAT)