Skip to content

Commit

Permalink
List expiration: use same log level as when setting
Browse files Browse the repository at this point in the history
And log this event to the &SERVER channel, too.
  • Loading branch information
alexbarton committed Dec 7, 2016
1 parent 85df414 commit d0d4de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngircd/lists.c
Expand Up @@ -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);
Expand Down

0 comments on commit d0d4de4

Please sign in to comment.