diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-12 13:35:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-12 13:35:02 +0200 |
commit | 54a58151057347f176056dae9795c042a3fbddcb (patch) | |
tree | e0a72893a5c82253031e7dfec450a03c6086c646 /doc/sr/weechat_plugin_api.sr.adoc | |
parent | c4c58e0914f7c5aaabe046d8cce33862ad28511d (diff) | |
download | weechat-54a58151057347f176056dae9795c042a3fbddcb.zip |
doc/api: fix return values for callback_read in config_new_section
Diffstat (limited to 'doc/sr/weechat_plugin_api.sr.adoc')
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index 65d0dd3b1..62f7cd707 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -6509,9 +6509,10 @@ my_section_read_cb (const void *pointer, void *data, { /* ... */ - return WEECHAT_CONFIG_READ_OK; - /* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */ - /* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */ + return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED; + /* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */ + /* return WEECHAT_CONFIG_OPTION_SET_ERROR; */ + /* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */ } int |