1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

Fixed crash with /set command

This commit is contained in:
Sebastien Helleu
2003-11-01 23:21:25 +00:00
parent 2b16f8c0d5
commit 8d33ef0168
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}