Module: ngircd.git Branch: master Commit: dbb66695c938a7c13e0d399937f191456c7b1119 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=dbb66...
Author: Alexander Barton alex@barton.de Date: Wed Mar 16 23:58:01 2011 +0100
IRC_QUIT_HTTP(): enhance error message
---
src/ngircd/irc-login.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 518c9f1..7e75217 100644 --- a/src/ngircd/irc-login.c +++ b/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 */