starttls: Don't send ERR_STARTTLS after successful STARTTLS.

This commit is contained in:
Jilles Tjoelker 2013-01-05 15:09:17 +01:00
parent fce4df5473
commit b6e02c25b5

View file

@ -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;
}