From: Art Cancro Date: Tue, 31 Aug 2010 19:58:10 +0000 (-0400) Subject: Amend the INFO command to alert the client whether the server X-Git-Tag: v8.01~799 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d6bf1a7d88e2d3fa4d3dd850098dc334cc405d4b Amend the INFO command to alert the client whether the server supports guest logins. --- 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"); }