And log this event to the &SERVER channel, too.
if (e->valid_until > 0 && e->valid_until < now) {
/* Entry is expired, delete it */
if (e->reason)
if (e->valid_until > 0 && e->valid_until < now) {
/* Entry is expired, delete it */
if (e->reason)
+ Log(LOG_NOTICE|LOG_snotice,
"Deleted \"%s\" (\"%s\") from %s list (expired).",
e->mask, e->reason, ListName);
else
"Deleted \"%s\" (\"%s\") from %s list (expired).",
e->mask, e->reason, ListName);
else
+ Log(LOG_NOTICE|LOG_snotice,
"Deleted \"%s\" from %s list (expired).",
e->mask, ListName);
Lists_Unlink(h, last, e);
"Deleted \"%s\" from %s list (expired).",
e->mask, ListName);
Lists_Unlink(h, last, e);