summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/trigger/trigger-callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-callback.c b/src/plugins/trigger/trigger-callback.c
index bfbb90bb0..a40e83585 100644
--- a/src/plugins/trigger/trigger-callback.c
+++ b/src/plugins/trigger/trigger-callback.c
@@ -562,7 +562,7 @@ trigger_callback_print_cb (void *data, struct t_gui_buffer *buffer,
message);
if (message2)
{
- weechat_hashtable_set (extra_vars, "tg_message", message);
+ weechat_hashtable_set (extra_vars, "tg_message", message2);
free (message2);
}
}