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/python | |
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/python')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 32b46f581..c593aa102 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -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 */ |