1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-13 10:20:28 +00:00

Only "handle" HTTP commands on unregistered connections

This commit is contained in:
Alexander Barton 2011-03-17 00:03:10 +01:00
parent 38747b40dc
commit b19f7d73cb

View 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 */
};