changeset 4015:4aeb58dc4f18 HEAD

PREAUTH banner should show the capability from capability_string in case some plugins had changed that already.
author Timo Sirainen <tss@iki.fi>
date Tue, 14 Feb 2006 19:22:58 +0200
parents f406248b1b9f
children 0d3dd32999a0
files src/imap/main.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/main.c	Tue Feb 14 19:21:22 2006 +0200
+++ b/src/imap/main.c	Tue Feb 14 19:22:58 2006 +0200
@@ -186,7 +186,8 @@
         o_stream_cork(client->output);
 	if (IS_STANDALONE()) {
 		client_send_line(client, t_strconcat(
-			"* PREAUTH [CAPABILITY "CAPABILITY_STRING"] "
+			"* PREAUTH [CAPABILITY ",
+			str_c(capability_string), "] "
 			"Logged in as ", user, NULL));
 	} else if (getenv("IMAPLOGINTAG") != NULL) {
 		/* Support for mailfront */