about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2011-03-16 23:58:01 +0100
committerAlexander Barton <alex@barton.de>2011-03-16 23:58:01 +0100
commitdbb66695c938a7c13e0d399937f191456c7b1119 (patch)
tree64e4d23eb0c5cb831262247a782915f749c4e163 /src
parent77cff9e47c33d1b1bc22d1fba09607e347e55e8a (diff)
downloadngircd-dbb66695c938a7c13e0d399937f191456c7b1119.tar.gz
ngircd-dbb66695c938a7c13e0d399937f191456c7b1119.zip
IRC_QUIT_HTTP(): enhance error message
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-login.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c
index 518c9f1d..7e752179 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 */