summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-01-26 11:26:00 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-09 12:55:40 +0100
commitc9b1444b8f81f38be1475df9a783fafdfdf4abcc (patch)
treeff64fbe4d0c474fcbbfeeee6ce31f84a82482d59 /src/plugins
parent356ac05e0744edf2937ea4c09ffb7858fe7b4019 (diff)
downloadweechat-c9b1444b8f81f38be1475df9a783fafdfdf4abcc.zip
trigger: fix regex result in a hook print
Diffstat (limited to 'src/plugins')
-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);
}
}