Module: ngircd.git Branch: master Commit: b19f7d73cb3759630072d28d1db5219dc656348b URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b19f7...
Author: Alexander Barton alex@barton.de Date: Thu Mar 17 00:03:10 2011 +0100
Only "handle" HTTP commands on unregistered connections
---
src/ngircd/parse.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c index 11bb3d1..8203dd0 100644 --- 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 */ };
ngircd-commits@lists.barton.de