summaryrefslogtreecommitdiff
path: root/doc/en/weechat_plugin_api.en.txt
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/en/weechat_plugin_api.en.txt
parent9f9a37b8e6435c9fc71f837bded97aaa6f26e1ad (diff)
downloadweechat-26d7fcfc972fe7eb1f65c615e38e70f4edb2e1fb.zip
doc: fix C example of weechat_hook_process_hashtable (plugin API reference)
Diffstat (limited to 'doc/en/weechat_plugin_api.en.txt')
-rw-r--r--doc/en/weechat_plugin_api.en.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index e791cd709..6cdb94478 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -7022,7 +7022,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/",