diff options
Diffstat (limited to 'src/plugins/trigger/trigger-buffer.c')
-rw-r--r-- | src/plugins/trigger/trigger-buffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-buffer.c b/src/plugins/trigger/trigger-buffer.c index 3ca397a96..eb83c3f1f 100644 --- a/src/plugins/trigger/trigger-buffer.c +++ b/src/plugins/trigger/trigger-buffer.c @@ -388,6 +388,12 @@ trigger_buffer_display_trigger (struct t_trigger *trigger, void trigger_buffer_end () { + if (trigger_buffer) + { + weechat_buffer_close (trigger_buffer); + trigger_buffer = NULL; + } + if (trigger_buffer_filters) { weechat_string_free_split (trigger_buffer_filters); |