repo: ngircd action: commit revision: path_from: revision_from: b19f7d73cb3759630072d28d1db5219dc656348b: path_to: revision_to:
commit b19f7d73cb3759630072d28d1db5219dc656348b Author: Alexander BartonDate: Thu Mar 17 00:03:10 2011 +0100 Only "handle" HTTP commands on unregistered connections diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c
--- a/src/ngircd/parse.c
+++ b/src/ngircd/parse.c
@@ -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 */
};
-----END OF PAGE-----