From: Alexander Barton Date: Wed, 7 Dec 2016 23:20:36 +0000 (+0100) Subject: List expiration: use same log level as when setting X-Git-Tag: rel-24-rc1~13 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=d0d4de498000ff80d11aaa35509f082a80bb317e List expiration: use same log level as when setting And log this event to the &SERVER channel, too. --- diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index a091addb..b842ec82 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -381,11 +381,11 @@ Lists_Expire(struct list_head *h, const char *ListName) if (e->valid_until > 0 && e->valid_until < now) { /* Entry is expired, delete it */ if (e->reason) - Log(LOG_INFO, + Log(LOG_NOTICE|LOG_snotice, "Deleted \"%s\" (\"%s\") from %s list (expired).", e->mask, e->reason, ListName); else - Log(LOG_INFO, + Log(LOG_NOTICE|LOG_snotice, "Deleted \"%s\" from %s list (expired).", e->mask, ListName); Lists_Unlink(h, last, e);