commit - 5417a72536954927371d597e9a4e0453e70620e3
commit + 33e8c2480649193799d88d003b9257873aaf2b31
blob - f76a62707ae8c22cc097385da60ecda80a16db74
blob + 3c4eb189d58b7035d2c7bd7df7c53d47bceddced
--- src/ngircd/irc-login.c
+++ src/ngircd/irc-login.c
* @param Req Request structure with prefix and all parameters.
* @returns CONNECTED or DISCONNECTED.
*/
+GLOBAL bool
+IRC_QUIT_HTTP( CLIENT *Client, REQUEST *Req )
+{
+ Req->argc = 0;
+ return IRC_QUIT(Client, Req);
+}
+
+
GLOBAL bool
IRC_PING(CLIENT *Client, REQUEST *Req)
{
blob - 7ba5357114347f69b2915025551496c33c4f486d
blob + f3138f6efaa0a8ddb55fa37910aec3f56850f7b3
--- src/ngircd/irc-login.h
+++ src/ngircd/irc-login.h
GLOBAL bool IRC_PING PARAMS((CLIENT *Client, REQUEST *Req));
GLOBAL bool IRC_PONG PARAMS((CLIENT *Client, REQUEST *Req));
GLOBAL bool IRC_QUIT PARAMS((CLIENT *Client, REQUEST *Req));
+GLOBAL bool IRC_QUIT_HTTP PARAMS((CLIENT *Client, REQUEST *Req));
#endif
blob - 7c56a03d3478be3fe0111580d294f99e73ae111c
blob + 51149da52108b5c1f92151cdb94e490f9e3a5dc8
--- src/ngircd/parse.c
+++ src/ngircd/parse.c
{ "PONG", IRC_PONG, CLIENT_USER|CLIENT_SERVER, 0, 0, 0 },
{ "PRIVMSG", IRC_PRIVMSG, CLIENT_USER|CLIENT_SERVER, 0, 0, 0 },
{ "QUIT", IRC_QUIT, 0xFFFF, 0, 0, 0 },
+ { "GET", IRC_QUIT_HTTP, 0xFFFF, 0, 0, 0 },
+ { "POST", IRC_QUIT_HTTP, 0xFFFF, 0, 0, 0 },
{ "REHASH", IRC_REHASH, CLIENT_USER, 0, 0, 0 },
{ "RESTART", IRC_RESTART, CLIENT_USER, 0, 0, 0 },
{ "SERVER", IRC_SERVER, 0xFFFF, 0, 0, 0 },