1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

Add arguments for plugin init functions and "irc://.." command line option for irc plugin

This commit is contained in:
Sebastien Helleu
2008-05-15 22:13:54 +02:00
parent f67a516419
commit 91084108ae
29 changed files with 506 additions and 703 deletions
+5 -1
View File
@@ -678,8 +678,12 @@ logger_config_cb (void *data, char *option, char *value)
*/
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 (!logger_config_read ())