summaryrefslogtreecommitdiff
path: root/src/plugins/plugins-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugins-interface.c')
-rw-r--r--src/plugins/plugins-interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c
index f9e2a0a4d..861856c2d 100644
--- a/src/plugins/plugins-interface.c
+++ b/src/plugins/plugins-interface.c
@@ -290,6 +290,8 @@ weechat_plugin_exec_command (t_weechat_plugin *plugin,
user_command (ptr_server, ptr_channel->buffer, command);
else if (ptr_server && (ptr_server->buffer))
user_command (ptr_server, ptr_server->buffer, command);
+ else
+ user_command (NULL, gui_buffers, command);
}
/*