diff options
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |