summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-07 13:12:46 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-07 13:12:46 +0100
commit495e6bd5df9163148676821d610c9ef863326f70 (patch)
tree024adc4a159a888e779dd92520f38b22c1d08ec4 /src/core/wee-command.c
parent3c8276bc5752a607f3a16e1a4a683b5f73b3db37 (diff)
downloadweechat-495e6bd5df9163148676821d610c9ef863326f70.zip
Many changes in IRC plugin and plugins API
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index a6e5d6d31..487527656 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1341,7 +1341,7 @@ command_set (void *data, void *buffer,
{
number_found = 0;
- number_found += command_set_display_option_list (weechat_config,
+ number_found += command_set_display_option_list (weechat_config_file,
NULL,
(argc == 2) ?
argv[1] : NULL);
@@ -1381,7 +1381,7 @@ command_set (void *data, void *buffer,
/* set option value */
if ((argc >= 4) && (string_strcasecmp (argv[2], "=") == 0))
{
- ptr_option = config_file_search_option (weechat_config, NULL, argv[1]);
+ ptr_option = config_file_search_option (weechat_config_file, NULL, argv[1]);
if (!ptr_option)
{
gui_chat_printf (NULL,