mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
Log G-/K-Line changes only when not initiated by a server
This prevents the log from becomming spammed during "net bursts".
This commit is contained in:
parent
79a917f954
commit
0dc692b1f7
@ -447,6 +447,7 @@ IRC_xLINE(CLIENT *Client, REQUEST *Req)
|
|||||||
if (Class_AddMask(class, Req->argv[0],
|
if (Class_AddMask(class, Req->argv[0],
|
||||||
timeout,
|
timeout,
|
||||||
Req->argv[2])) {
|
Req->argv[2])) {
|
||||||
|
if (Client_Type(from) != CLIENT_SERVER)
|
||||||
Log(LOG_NOTICE|LOG_snotice,
|
Log(LOG_NOTICE|LOG_snotice,
|
||||||
"\"%s\" added \"%s\" to %c-Line list: \"%s\" (%ld seconds).",
|
"\"%s\" added \"%s\" to %c-Line list: \"%s\" (%ld seconds).",
|
||||||
Client_Mask(from), Req->argv[0], class_c,
|
Client_Mask(from), Req->argv[0], class_c,
|
||||||
|
Loading…
Reference in New Issue
Block a user