mirror of
https://github.com/osmarks/ngircd.git
synced 2025-06-18 14:24:08 +00:00
IRC_QUIT_HTTP(): enhance error message
This commit is contained in:
parent
77cff9e47c
commit
dbb66695c9
@ -686,7 +686,8 @@ IRC_QUIT( CLIENT *Client, REQUEST *Req )
|
|||||||
GLOBAL bool
|
GLOBAL bool
|
||||||
IRC_QUIT_HTTP( CLIENT *Client, REQUEST *Req )
|
IRC_QUIT_HTTP( CLIENT *Client, REQUEST *Req )
|
||||||
{
|
{
|
||||||
Req->argc = 0;
|
Req->argc = 1;
|
||||||
|
Req->argv[0] = "Oops, HTTP request received? This is IRC!";
|
||||||
return IRC_QUIT(Client, Req);
|
return IRC_QUIT(Client, Req);
|
||||||
} /* IRC_QUIT_HTTP */
|
} /* IRC_QUIT_HTTP */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user