Implemented the XYZZY command.
authorArt Cancro <ajc@citadel.org>
Wed, 23 Jan 2008 18:28:39 +0000 (18:28 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 23 Jan 2008 18:28:39 +0000 (18:28 +0000)
citadel/citserver.c

index cc2b83652d8591abcf8d591b34d07311ce889da8..d53ea5db36183477ce7c8699e298e45d9ec2255f 100644 (file)
@@ -1070,6 +1070,10 @@ void do_command_loop(void) {
                cprintf("%d%cok\n", CIT_OK, CtdlCheckExpress() );
        }
        
+       if (!strncasecmp(cmdbuf, "XYZZY", 5)) {
+               cprintf("%d Nothing happens.\n", CIT_OK);
+       }
+       
        else if (!strncasecmp(cmdbuf, "QNOP", 4)) {
                /* do nothing, this command returns no response */
        }