diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-08 09:16:32 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-08 09:16:32 +0000 |
commit | f5ecafd6a8e6e529f484b15bf35c4900066a3ab9 (patch) | |
tree | d00b0280864f954984ff52b85564112ff7cb2dcf /src/plugins/scripts/python/weechat-python.c | |
parent | c8361419b8764992dfb9fc37023e6fbf2ccc58b1 (diff) | |
download | weechat-f5ecafd6a8e6e529f484b15bf35c4900066a3ab9.zip |
Fixed bugs with get_plugin_config and set_plugin_config functions (python only)
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index cb903c2e6..a28f85b9a 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -655,7 +655,9 @@ weechat_python_get_plugin_config (PyObject *self, PyObject *args) if (option) { - return_value = python_plugin->get_config (python_plugin, option); + return_value = weechat_script_get_plugin_config (python_plugin, + python_current_script, + option); if (return_value) { @@ -701,7 +703,9 @@ weechat_python_set_plugin_config (PyObject *self, PyObject *args) if (option && value) { - if (python_plugin->set_config (python_plugin, option, value)) + if (weechat_script_set_plugin_config (python_plugin, + python_current_script, + option, value)) return Py_BuildValue ("i", 1); } |