Permalink
Browse files

starttls: Don't send ERR_STARTTLS after successful STARTTLS.

  • Loading branch information...
jillest committed Jan 5, 2013
1 parent fce4df5 commit b6e02c25b5a3528b7be37c23156161f342adb1d8
Showing with 2 additions and 1 deletion.
  1. +2 −1 modules/m_starttls.c
View
@@ -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;
}

0 comments on commit b6e02c2

Please sign in to comment.