summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorstfn <stfnmd@gmail.com>2012-07-05 09:32:15 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-07-05 09:32:15 +0200
commit26d7fcfc972fe7eb1f65c615e38e70f4edb2e1fb (patch)
tree8176fdedb5ea3c7572ee4359d993ed5d8db9e7e8 /doc/it
parent9f9a37b8e6435c9fc71f837bded97aaa6f26e1ad (diff)
downloadweechat-26d7fcfc972fe7eb1f65c615e38e70f4edb2e1fb.zip
doc: fix C example of weechat_hook_process_hashtable (plugin API reference)
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_plugin_api.it.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index 36e5cd524..79f601955 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -7051,7 +7051,7 @@ struct t_hashtable *options = weechat_hashtable_new (8,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
-if (hashtable)
+if (options)
{
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://www.weechat.org/",