Amend the INFO command to alert the client whether the server
authorArt Cancro <ajc@citadel.org>
Tue, 31 Aug 2010 19:58:10 +0000 (15:58 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 31 Aug 2010 19:58:10 +0000 (15:58 -0400)
supports guest logins.

citadel/citserver.c

index 9b522032daa9a5d51bf08acc22916c46bd0bbed1..51916926c1a1d83acea824058ece1d7b6a61f7d8 100644 (file)
@@ -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");
 }