X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fsmtp%2Fserv_smtp.c;h=7847eccc31cd49805ac4c0729ec68f7dfd9dc700;hp=8b03cfca65f9a637c061d064a282cd9f47d4a547;hb=8e944083763c9ddcb32d763cf8f19c966d01f873;hpb=ab6b11ab4005e990fbb368b14c42630b7694c54f diff --git a/citadel/modules/smtp/serv_smtp.c b/citadel/modules/smtp/serv_smtp.c index 8b03cfca6..7847eccc3 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -20,7 +20,7 @@ * The VRFY and EXPN commands have been removed from this implementation * because nobody uses these commands anymore, except for spammers. * - * Copyright (c) 1998-2020 by the citadel.org team + * Copyright (c) 1998-2021 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -129,11 +129,6 @@ void registerSmtpCMD(const char *First, long FLen, } -void smtp_cleanup(void) -{ - DeleteHash(&SMTPCmds); -} - /* * Here's where our SMTP session begins its happy day. */ @@ -1190,7 +1185,6 @@ CTDL_MODULE_INIT(smtp) NULL, CitadelServiceSMTP_LMTP_UNF); - CtdlRegisterCleanupHook(smtp_cleanup); CtdlRegisterSessionHook(smtp_cleanup_function, EVT_STOP, PRIO_STOP + 250); }