about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_defs.c2
-rw-r--r--src/command/cmd_funcs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 8c9767d4..2eaec284 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2714,7 +2714,7 @@ static struct cmd_t command_defs[] = {
     },
 
     { "/mood",
-      parse_args, 1, 3, NULL,
+      parse_args, 1, 3, &cons_mood_setting,
       CMD_NOSUBFUNCS
       CMD_MAINFUNC(cmd_mood)
       CMD_TAGS(
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index bfe65d6a..4edc7c16 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -9773,7 +9773,7 @@ cmd_mood(ProfWin* window, const char* const command, gchar** args)
     if (g_strcmp0(args[0], "on") == 0) {
         _cmd_set_boolean_preference(args[0], command, "User mood", PREF_MOOD);
         caps_add_feature(STANZA_NS_MOOD_NOTIFY);
-    }  else if (g_strcmp0(args[0], "off") == 0) {
+    } else if (g_strcmp0(args[0], "off") == 0) {
         _cmd_set_boolean_preference(args[0], command, "User mood", PREF_MOOD);
         caps_remove_feature(STANZA_NS_MOOD_NOTIFY);
     } else if (g_strcmp0(args[0], "set") == 0) {