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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user