From b6e02c25b5a3528b7be37c23156161f342adb1d8 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 5 Jan 2013 15:09:17 +0100 Subject: [PATCH] starttls: Don't send ERR_STARTTLS after successful STARTTLS. --- modules/m_starttls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/m_starttls.c b/modules/m_starttls.c index a0826736..6159cac5 100644 --- a/modules/m_starttls.c +++ b/modules/m_starttls.c @@ -84,7 +84,8 @@ mr_starttls(struct Client *client_p, struct Client *source_p, int parc, const ch else return 1; -#endif +#else sendto_one_numeric(client_p, ERR_STARTTLS, form_str(ERR_STARTTLS), "TLS is not configured"); +#endif return 0; }