From c1cf0b433eb13823509b3de2f3e910c3fc009af7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 28 Apr 2013 04:14:23 +0100 Subject: [PATCH] Fixed bug where /msg not logging chat --- src/command/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/command.c b/src/command/command.c index 6e1b97d0..338fd27f 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1892,7 +1892,7 @@ _cmd_msg(gchar **args, struct cmd_help_t help) message_send(msg, usr); ui_outgoing_msg("me", usr, msg); - if ((win_type == WIN_CHAT) && prefs_get_boolean(PREF_CHLOG)) { + if (((win_type == WIN_CHAT) || (win_type == WIN_CONSOLE)) && prefs_get_boolean(PREF_CHLOG)) { const char *jid = jabber_get_jid(); Jid *jidp = jid_create(jid); chat_log_chat(jidp->barejid, usr, msg, PROF_OUT_LOG, NULL);