From 817857e4c0d986226b7c213debca9de4f32e979a Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 3 Jul 2013 21:23:18 +0100 Subject: Fixed naming clash for roster help --- src/command/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/command/command.c b/src/command/command.c index 4af0da96..63d003f4 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -870,7 +870,7 @@ cmd_init(void) autocomplete_add(help_ac, strdup("chatting")); autocomplete_add(help_ac, strdup("groupchat")); autocomplete_add(help_ac, strdup("presence")); - autocomplete_add(help_ac, strdup("roster")); + autocomplete_add(help_ac, strdup("contacts")); autocomplete_add(help_ac, strdup("service")); autocomplete_add(help_ac, strdup("settings")); autocomplete_add(help_ac, strdup("other")); @@ -1739,7 +1739,7 @@ _cmd_help(gchar **args, struct cmd_help_t help) "/xa" }; _cmd_show_filtered_help("Presence commands", filter, ARRAY_SIZE(filter)); - } else if (strcmp(args[0], "roster") == 0) { + } else if (strcmp(args[0], "contacts") == 0) { gchar *filter[] = { "/group", "/roster", "/sub", "/who" }; _cmd_show_filtered_help("Roster commands", filter, ARRAY_SIZE(filter)); -- cgit 1.4.1-2-gfad0