changeset 8667:d4376328f8c0 HEAD

Don't warn about maybe not being able to log in if protocols=none.
author Timo Sirainen <tss@iki.fi>
date Tue, 20 Jan 2009 17:36:50 -0500
parents ca964325664e
children 1cea5aa6915c
files src/master/master-settings.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/master-settings.c	Tue Jan 20 15:04:25 2009 -0500
+++ b/src/master/master-settings.c	Tue Jan 20 17:36:50 2009 -0500
@@ -865,6 +865,7 @@
 #endif
 	if (strcmp(set->ssl, "no") == 0 && set->disable_plaintext_auth &&
 	    strncmp(set->listen, "127.", 4) != 0 &&
+	    strcmp(set->protocols, "none") != 0 &&
 	    !settings_have_nonplaintext_auths(set)) {
 		i_warning("There is no way to login to this server: "
 			  "disable_plaintext_auth=yes, ssl=no, "