Mailing lists need to have confirmations logged to comply with various laws
authorMichael Hampton <io_error@uncensored.citadel.org>
Fri, 23 Jun 2006 11:29:05 +0000 (11:29 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Fri, 23 Jun 2006 11:29:05 +0000 (11:29 +0000)
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);