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

View File

@ -686,7 +686,8 @@ IRC_QUIT( CLIENT *Client, REQUEST *Req )
GLOBAL bool
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);
} /* IRC_QUIT_HTTP */