summaryrefslogtreecommitdiff
path: root/src/plugins/weechat-plugin.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-08-22 12:16:09 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-08-22 12:16:09 +0200
commit0a211bdc49c99a8272fdd158bddd4a2813f4ae8d (patch)
tree877a0e87e8a75c7a8b4b6df4ded2dd4a1389edea /src/plugins/weechat-plugin.h
parentcba1ebdbf4fd8843ce4215512d66b02bb20b8b8b (diff)
downloadweechat-0a211bdc49c99a8272fdd158bddd4a2813f4ae8d.zip
Fix IRC /server command, fix bugs with IRC servers options, remove temporary server feature
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r--src/plugins/weechat-plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h
index af91e3df1..0a3526ad6 100644
--- a/src/plugins/weechat-plugin.h
+++ b/src/plugins/weechat-plugin.h
@@ -263,6 +263,7 @@ struct t_weechat_plugin
int run_callback);
int (*config_option_set) (struct t_config_option *option, const char *value,
int run_callback);
+ int (*config_option_unset) (struct t_config_option *option);
void (*config_option_rename) (struct t_config_option *option,
const char *new_name);
void *(*config_option_get_pointer) (struct t_config_option *option,
@@ -705,6 +706,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
#define weechat_config_option_set(__option, __value, __run_callback) \
weechat_plugin->config_option_set(__option, __value, \
__run_callback)
+#define weechat_config_option_unset(__option) \
+ weechat_plugin->config_option_unset(__option)
#define weechat_config_option_rename(__option, __new_name) \
weechat_plugin->config_option_rename(__option, __new_name)
#define weechat_config_option_get_pointer(__option, __property) \