mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
trigger: add variable "tg_tag_host" (from tag "host_xxx" in message)
This commit is contained in:
@@ -118,6 +118,10 @@ trigger_callback_set_tags (struct t_gui_buffer *buffer,
|
||||
weechat_hashtable_set (extra_vars, "tg_tag_prefix_nick",
|
||||
tags[i] + 12);
|
||||
}
|
||||
else if (strncmp (tags[i], "host_", 5) == 0)
|
||||
{
|
||||
weechat_hashtable_set (extra_vars, "tg_tag_host", tags[i] + 5);
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user