1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

script: fix buffer used by command /script list -i|-il|-o|-ol

The command is now executed on the buffer where it is received instead of the
current buffer (in most cases this is the same buffer, but could be different
sometimes).
This commit is contained in:
Sébastien Helleu
2023-06-18 10:37:12 +02:00
parent 6c8d6eef58
commit f811621611
4 changed files with 58 additions and 38 deletions
+5 -2
View File
@@ -23,8 +23,11 @@
extern char **script_actions;
extern int script_action_run_all ();
extern void script_action_schedule (const char *action, int need_repository,
int error_repository, int quiet);
extern void script_action_schedule (struct t_gui_buffer *buffer,
const char *action,
int need_repository,
int error_repository,
int quiet);
extern void script_action_end ();
#endif /* WEECHAT_PLUGIN_SCRIPT_ACTION_H */