diff options
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/cmd_defs.c | 12 | ||||
| -rw-r--r-- | src/command/cmd_funcs.c | 6 |
2 files changed, 4 insertions, 14 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 18326a81..7cf7b2ef 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1610,22 +1610,18 @@ static struct cmd_t command_defs[] = CMD_TAGS( CMD_TAG_CHAT) CMD_SYN( - "/logging chat|group on|off", - "/logging group color unanimous|regular") + "/logging chat|group on|off") CMD_DESC( "Configure chat logging. " "Switch logging on or off. " "Chat logging will be enabled if /history is set to on. " - "When disabling this option, /history will also be disabled. " - "Color MUC history unanimously or like regular MUC messages.") + "When disabling this option, /history will also be disabled. ") CMD_ARGS( { "chat on|off", "Enable/Disable regular chat logging." }, - { "group on|off", "Enable/Disable groupchat (room) logging." }, - { "group color unanimous|regular", "Color MUC history unanimous or like regular MUC messages." }) + { "group on|off", "Enable/Disable groupchat (room) logging." }) CMD_EXAMPLES( "/logging chat on", - "/logging group off", - "/logging group color regular" ) + "/logging group off") }, { "/states", diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 2ad66b5b..e5dc987a 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6715,12 +6715,6 @@ cmd_logging(ProfWin *window, const char *const command, gchar **args) if (g_strcmp0(args[1], "on") == 0 || g_strcmp0(args[1], "off") == 0) { _cmd_set_boolean_preference(args[1], command, "Groupchat logging", PREF_GRLOG); return TRUE; - } else if (strcmp(args[1], "color") == 0 && args[2] != NULL) { - if (g_strcmp0(args[2], "unanimous") == 0 || g_strcmp0(args[2], "regular") == 0) { - prefs_set_string(PREF_HISTORY_COLOR_MUC, args[2]); - cons_show("Groupchat logging color set to: %s", args[2]); - return TRUE; - } } } |