From c1cf0b433eb13823509b3de2f3e910c3fc009af7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 28 Apr 2013 04:14:23 +0100 Subject: Fixed bug where /msg not logging chat --- src/command/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command') 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); -- cgit 1.4.1-2-gfad0 s='sub'>Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log blame commit diff stats
path: root/profrc.example
blob: 6864788a9df469c98f507ccb933b4bf82dc70254 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13