From d6bf1a7d88e2d3fa4d3dd850098dc334cc405d4b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 31 Aug 2010 15:58:10 -0400 Subject: [PATCH] Amend the INFO command to alert the client whether the server supports guest logins. --- citadel/citserver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/citadel/citserver.c b/citadel/citserver.c index 9b522032d..51916926c 100644 --- a/citadel/citserver.c +++ b/citadel/citserver.c @@ -297,6 +297,8 @@ void cmd_info(char *cmdbuf) { else { cprintf("0\n"); /* OpenID is disabled when using non-native auth */ } + + cprintf("%d\n", config.c_guest_logins); cprintf("000\n"); } -- 2.30.2