+/**
+ * Delete a list element from a list.
+ *
+ * @param h List head.
+ * @param p Pointer to previous list element or NULL, if there is none.
+ * @param victim List element to delete.
+ */
+static void
+Lists_Unlink(struct list_head *h, struct list_elem *p, struct list_elem *victim)
+{
+ assert(victim != NULL);
+ assert(h != NULL);
+
+ if (p)
+ p->next = victim->next;
+ else
+ h->first = victim->next;
+
+ if (victim->reason)
+ free(victim->reason);
+
+ free(victim);
+}
+
+/**
+ * Delete a given IRC mask from a list.
+ *
+ * @param h List head.
+ * @param Mask IRC mask to delete from the list.
+ */
+GLOBAL void
+Lists_Del(struct list_head *h, const char *Mask)