Only "handle" HTTP commands on unregistered connections QuitOnHTTP
authorAlexander Barton <alex@barton.de>
Wed, 16 Mar 2011 23:03:10 +0000 (00:03 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 16 Mar 2011 23:03:10 +0000 (00:03 +0100)
src/ngircd/parse.c

index 11bb3d114735687175cae48b78dde48e7c8090da..8203dd0ecb2687617af5f911db820733d239d35d 100644 (file)
@@ -110,8 +110,8 @@ static COMMAND My_Commands[] =
        { "CHANINFO", IRC_CHANINFO, CLIENT_SERVER, 0, 0, 0 },
 #endif
 #ifndef STRICT_RFC
-       { "GET",  IRC_QUIT_HTTP, 0xFFFF, 0, 0, 0 },
-       { "POST", IRC_QUIT_HTTP, 0xFFFF, 0, 0, 0 },
+       { "GET",  IRC_QUIT_HTTP, CLIENT_UNKNOWN, 0, 0, 0 },
+       { "POST", IRC_QUIT_HTTP, CLIENT_UNKNOWN, 0, 0, 0 },
 #endif
        { NULL, NULL, 0x0, 0, 0, 0 } /* Ende-Marke */
 };