about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2016-12-08 00:20:36 +0100
committerAlexander Barton <alex@barton.de>2016-12-08 00:20:38 +0100
commitd0d4de498000ff80d11aaa35509f082a80bb317e (patch)
tree41938a63baecbc880d92531272e249e7dc0902a3 /src
parent85df41490710fcefd158e4e8d8175207d24feb2f (diff)
downloadngircd-d0d4de498000ff80d11aaa35509f082a80bb317e.tar.gz
ngircd-d0d4de498000ff80d11aaa35509f082a80bb317e.zip
List expiration: use same log level as when setting
And log this event to the &SERVER channel, too.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/lists.c4
1 files changed, 2 insertions, 2 deletions
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);