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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user