diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-05-15 22:13:54 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-05-15 22:13:54 +0200 |
commit | 91084108ae84755b073661c5fcb757db32b53eac (patch) | |
tree | 7b21caef71a5d758f1ac3a13348f858fc222f48b /src/plugins/scripts/lua/weechat-lua.c | |
parent | f67a5164199431ec2330442cd170616d96d222d7 (diff) | |
download | weechat-91084108ae84755b073661c5fcb757db32b53eac.zip |
Add arguments for plugin init functions and "irc://.." command line option for irc plugin
Diffstat (limited to 'src/plugins/scripts/lua/weechat-lua.c')
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index 2aa388710..f6ca6a6e9 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -470,8 +470,11 @@ weechat_lua_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_lua_plugin = plugin; |