mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 08:43:13 +02:00
Add arguments for plugin init functions and "irc://.." command line option for irc plugin
This commit is contained in:
@@ -818,8 +818,12 @@ alias_completion_cb (void *data, char *completion, struct t_gui_buffer *buffer,
|
||||
*/
|
||||
|
||||
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_plugin = plugin;
|
||||
|
||||
if (!alias_config_init ())
|
||||
|
||||
Reference in New Issue
Block a user