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:
parent
38747b40dc
commit
b19f7d73cb
@ -110,8 +110,8 @@ static COMMAND My_Commands[] =
|
|||||||
{ "CHANINFO", IRC_CHANINFO, CLIENT_SERVER, 0, 0, 0 },
|
{ "CHANINFO", IRC_CHANINFO, CLIENT_SERVER, 0, 0, 0 },
|
||||||
#endif
|
#endif
|
||||||
#ifndef STRICT_RFC
|
#ifndef STRICT_RFC
|
||||||
{ "GET", IRC_QUIT_HTTP, 0xFFFF, 0, 0, 0 },
|
{ "GET", IRC_QUIT_HTTP, CLIENT_UNKNOWN, 0, 0, 0 },
|
||||||
{ "POST", IRC_QUIT_HTTP, 0xFFFF, 0, 0, 0 },
|
{ "POST", IRC_QUIT_HTTP, CLIENT_UNKNOWN, 0, 0, 0 },
|
||||||
#endif
|
#endif
|
||||||
{ NULL, NULL, 0x0, 0, 0, 0 } /* Ende-Marke */
|
{ NULL, NULL, 0x0, 0, 0, 0 } /* Ende-Marke */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user