repo: ngircd
action: commit
revision: 
path_from: 
revision_from: d0d4de498000ff80d11aaa35509f082a80bb317e:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit d0d4de498000ff80d11aaa35509f082a80bb317e
Author: Alexander Barton 
Date:   Thu Dec 8 00:20:36 2016 +0100

    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 a091addb26860ed703c40ddc25eb5c0c65f1d582..
index ..b842ec82e319bbf3812d3b8a16a93e5b0bbe5c39 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);

-----END OF PAGE-----