commit - 15775e67900d914cc174aa80e615fa24d65d115c
commit + 770a58ac6df8099cfa8e7cf3b105ef495f2cf437
blob - b592eb9dd5a3be52ac19fd3966f5f0a4bf4517be
blob + cca295ac831dc486675f08778ec3d0de881a63ea
--- src/ngircd/irc-server.c
+++ src/ngircd/irc-server.c
char msg[COMMAND_LEN], logmsg[COMMAND_LEN];
CLIENT *from, *target;
CONN_ID con;
+ int loglevel;
assert(Client != NULL);
assert(Req != NULL);
return IRC_WriteStrClient(Client, ERR_NOSUCHNICK_MSG,
Client_ID(Client), Req->prefix);
- Log(LOG_DEBUG, "Got SQUIT from %s for \"%s\": \"%s\" ...",
+ if (Client_Type(Client) == CLIENT_USER)
+ loglevel = LOG_NOTICE | LOG_snotice;
+ else
+ loglevel = LOG_DEBUG;
+ Log(loglevel, "Got SQUIT from %s for \"%s\": \"%s\" ...",
Client_ID(from), Req->argv[0], Req->argv[1]);
target = Client_Search(Req->argv[0]);