1
0
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:
Alexander Barton 2011-03-16 23:58:01 +01:00
parent 77cff9e47c
commit dbb66695c9

View File

@ -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 */