mirror of
https://github.com/weechat/weechat.git
synced 2026-06-21 02:16:38 +02:00
Add arguments for plugin init functions and "irc://.." command line option for irc plugin
This commit is contained in:
@@ -644,8 +644,12 @@ weechat_python_buffer_closed_cb (void *data, char *signal, char *type_data,
|
||||
*/
|
||||
|
||||
int
|
||||
weechat_plugin_init (struct t_weechat_plugin *plugin)
|
||||
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
|
||||
weechat_python_plugin = plugin;
|
||||
|
||||
/* init stdout/stderr buffer */
|
||||
|
||||
Reference in New Issue
Block a user