1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-21 18:36:39 +02:00

Added "buffer_move" event handler to plugins API (task #6708)

This commit is contained in:
Sebastien Helleu
2007-07-18 12:02:40 +00:00
parent b1a99c5e6f
commit 2c3fad454c
38 changed files with 838 additions and 484 deletions
+4 -1
View File
@@ -257,7 +257,10 @@ weechat_python_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_python_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else