mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
trigger: fix variables sent to focus callback (closes #1858)
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098.
This commit is contained in:
@@ -1385,6 +1385,8 @@ trigger_callback_focus_cb (const void *pointer, void *data,
|
||||
|
||||
TRIGGER_CALLBACK_CB_NEW_POINTERS;
|
||||
|
||||
ctx.extra_vars = weechat_hashtable_dup (info);
|
||||
|
||||
/* add data in hashtables used for conditions/replace/command */
|
||||
trigger_callback_set_common_vars (trigger, info);
|
||||
ptr_value = weechat_hashtable_get (info, "_window");
|
||||
|
||||
Reference in New Issue
Block a user