sendcommand now uses the admin socket, eliminating any need to touch the config file.
[citadel.git] / citadel / citserver.c
index dd7b1ba2c0bedb282f5a1f91c00debf6fc4640eb..2cca2f8db673de07b15a5e1c9fafffb46c632b6e 100644 (file)
@@ -993,6 +993,12 @@ void citproto_begin_session() {
 }
 
 
+void citproto_begin_admin_session() {
+       CC->internal_pgm = 1;
+       cprintf("%d %s Citadel server ADMIN CONNECTION ready.\n", CIT_OK, config.c_nodename);
+}
+
+
 void cmd_noop(char *argbuf)
 {
        cprintf("%d%cok\n", CIT_OK, CtdlCheckExpress() );