diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-01 23:21:25 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-01 23:21:25 +0000 |
commit | 8d33ef0168af601fc6b865069f2ec257c620c33e (patch) | |
tree | 56b2b536899cc13f966caaacbdd5eb11fb7c1929 /src | |
parent | 2b16f8c0d57ec31f5e09a51fc4af8cb13da8e9ee (diff) | |
download | weechat-8d33ef0168af601fc6b865069f2ec257c620c33e.zip |
Fixed crash with /set command
Diffstat (limited to 'src')
-rw-r--r-- | src/common/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/command.c b/src/common/command.c index 633aa1f8a..1b0f13464 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -1302,7 +1302,7 @@ weechat_cmd_set (int argc, char **argv) for (i = 0; i < CONFIG_NUMBER_SECTIONS; i++) { section_displayed = 0; - if (i != CONFIG_SECTION_SERVER) + if ((i != CONFIG_SECTION_ALIAS) && (i != CONFIG_SECTION_SERVER)) { for (j = 0; weechat_options[i][j].option_name; j++) { @@ -1358,7 +1358,7 @@ weechat_cmd_set (int argc, char **argv) } } } - gui_printf (NULL, "(TODO) \"/set\" command not developed!\n"); + gui_printf (NULL, "(TODO) \"/set\" command not fully developed!\n"); return 0; } |