diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 57576967..81597a2d 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -1063,7 +1063,7 @@ cmd_ac_init(void) mood_ac = autocomplete_new(); autocomplete_add(mood_ac, "set"); - autocomplete_add(mood_ac, "clean"); + autocomplete_add(mood_ac, "clear"); mood_type_ac = autocomplete_new(); autocomplete_add(mood_type_ac, "afraid"); autocomplete_add(mood_type_ac, "amazed"); diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 4af09204..359f47d0 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -2687,16 +2687,16 @@ static struct cmd_t command_defs[] = { CMD_TAG_CHAT) CMD_SYN( "/mood set [text]", - "/mood clean") + "/mood clear") CMD_DESC( "Set your mood (XEP-0107).") CMD_ARGS( { "set <", "Set user mood to with an optional [text]. Use /mood set to toggle through predfined moods." }, - { "clean", "Clean your user mood." }) + { "clear", "Clear your user mood." }) CMD_EXAMPLES( "/mood set happy \"So happy to use Profanity!\"", "/mood set amazed", - "/mood clean") + "/mood clear") }, // NEXT-COMMAND (search helper) }; diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 14a36ab9..13a40ebf 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -9658,7 +9658,7 @@ cmd_mood(ProfWin* window, const char* const command, gchar** args) publish_user_mood(args[1], args[1]); } } - } else if (g_strcmp0(args[0], "clean") == 0) { + } else if (g_strcmp0(args[0], "clear") == 0) { cons_show("Cleaning your user mood."); publish_user_mood(NULL, NULL); }