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
1 changed files with 2 additions and 2 deletions

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