Don't hide first word of server notices containing "***"
Using strstr() here is entirely wrong. The intention is to catch notices prefixed by *** or similar, and that's already detected further up in the code, stored in the flag variable.
This commit is contained in:
@@ -608,7 +608,7 @@ static void parse_server_notice(const char *from, char *line)
|
||||
else
|
||||
#endif
|
||||
{
|
||||
if (strstr(line, "***"))
|
||||
if (!flag)
|
||||
next_arg(line, &line);
|
||||
|
||||
set_display_target(NULL, LOG_SNOTE);
|
||||
|
||||
Reference in New Issue
Block a user