]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_listsub.c
Mailing lists need to have confirmations logged to comply with various laws
[citadel.git] / citadel / serv_listsub.c
index 638d6f8242d90edbfffbdb392fb83baaabf5100d..ee24361a925a24ce876a2da1272528cd1f5f01cb 100644 (file)
@@ -451,6 +451,7 @@ void do_confirm(char *room, char *token) {
         */
        if (success) {
                cprintf("%d %d operation(s) confirmed.\n", CIT_OK, success);
+               lprintf(CTDL_NOTICE, "Mailing list: %s %ssubscribed to %s with token %s\n", email, (strlen(address_to_unsubscribe) > 0) ? "un" : "", room, token);
        }
        else {
                cprintf("%d Invalid token.\n", ERROR + ILLEGAL_VALUE);