1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

doc: fix typo in plugin API reference for function config_set_plugin

This commit is contained in:
Sebastien Helleu
2011-04-25 18:36:09 +02:00
parent 4130ea6e77
commit 4ea7fe2627
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5517,7 +5517,7 @@ Script (Python):
rc = weechat.config_set_plugin(option_name, value)
# example
rc = weechat.config_is_set_plugin("option", "test_value")
rc = weechat.config_set_plugin("option", "test_value")
if rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED:
# ...
elif rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE:
+1 -1
View File
@@ -5575,7 +5575,7 @@ Script (Python) :
rc = weechat.config_set_plugin(option_name, value)
# exemple
rc = weechat.config_is_set_plugin("option", "valeur_test")
rc = weechat.config_set_plugin("option", "valeur_test")
if rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED:
# ...
elif rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE:
+1 -1
View File
@@ -5517,7 +5517,7 @@ Script (Python):
rc = weechat.config_set_plugin(option_name, value)
# esempio
rc = weechat.config_is_set_plugin("option", "test_value")
rc = weechat.config_set_plugin("option", "test_value")
if rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED:
# ...
elif rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: