commit dbb66695c938a7c13e0d399937f191456c7b1119 from: Alexander Barton date: Wed Mar 16 22:58:01 2011 UTC IRC_QUIT_HTTP(): enhance error message commit - 77cff9e47c33d1b1bc22d1fba09607e347e55e8a commit + dbb66695c938a7c13e0d399937f191456c7b1119 blob - 518c9f1d605207a7128ce26b37ae63bab295703b blob + 7e752179185724e1211193e3c3af6002629be29a --- src/ngircd/irc-login.c +++ src/ngircd/irc-login.c @@ -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 */