From 1e7c7edd1b1117a18be8d760beb843dd9cbe4743 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Fri, 19 Oct 2012 12:25:25 +0000 Subject: [PATCH] Use LOG_PUBLIC instead of LOG_MSG for PRIVMSGs sent to channels. This doesn't tend to affect what window they go to, since for channels there's always a target window based on the channel. But it does affect logging. This was fixed in EPIC4 back in 2001. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@214 13b04d17-f746-0410-82c6-800466cd88b0 --- Changelog | 2 ++ source/parse.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index f57d61a..23da0f7 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,7 @@ [Changes 1.2c01] +* Messages sent to channels should use lastlog level PUBLIC, not MSG. (caf) + * panasync OK'd releasing tcl.c, so here it is. (caf) * Rename include/bitchx to include/options.h, fixes building on diff --git a/source/parse.c b/source/parse.c index b01da27..ef51eef 100644 --- a/source/parse.c +++ b/source/parse.c @@ -477,7 +477,7 @@ static void p_privmsg(char *from, char **Args) if (is_channel(to) && im_on_channel(to, from_server)) { - set_display_target(to, LOG_MSG); + set_display_target(to, LOG_PUBLIC); malloc_strcpy(&public_nick, from); log_type = LOG_PUBLIC; ignore_type = IGNORE_PUBLIC;