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:
@@ -1,5 +1,7 @@
|
|||||||
[Changes 1.2c01]
|
[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)
|
* panasync OK'd releasing tcl.c, so here it is. (caf)
|
||||||
|
|
||||||
* Rename include/bitchx to include/options.h, fixes building on
|
* Rename include/bitchx to include/options.h, fixes building on
|
||||||
|
|||||||
@@ -477,7 +477,7 @@ static void p_privmsg(char *from, char **Args)
|
|||||||
|
|
||||||
if (is_channel(to) && im_on_channel(to, from_server))
|
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);
|
malloc_strcpy(&public_nick, from);
|
||||||
log_type = LOG_PUBLIC;
|
log_type = LOG_PUBLIC;
|
||||||
ignore_type = IGNORE_PUBLIC;
|
ignore_type = IGNORE_PUBLIC;
|
||||||
|
|||||||
Reference in New Issue
Block a user