about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2014-01-27 22:23:47 +0100
committerAlexander Barton <alex@barton.de>2014-01-27 22:23:47 +0100
commit0fc822d8c44be42a62d3c26bbab99d5d0bc88346 (patch)
tree2686068b38de45faefeaf4c4c386650adcf5b0cd /src
parent2e168c7809f8c149710a75bf3bf5b98e72217c61 (diff)
downloadngircd-0fc822d8c44be42a62d3c26bbab99d5d0bc88346.tar.gz
ngircd-0fc822d8c44be42a62d3c26bbab99d5d0bc88346.zip
Use correct sender as target for ISUPPORT replies on "VERSION"
This fixes commit 2e168c78 ("Return ISUPPORT(005) numerics on
'VERSION'") and make sure, that the 005 numerics are correctly
routed back to the sender.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c
index cc19465a..d367647f 100644
--- a/src/ngircd/irc-info.c
+++ b/src/ngircd/irc-info.c
@@ -1114,7 +1114,7 @@ IRC_VERSION( CLIENT *Client, REQUEST *Req )
 
 #ifndef STRICT_RFC
 	/* send RPL_ISUPPORT(005) numerics */
-	if (!IRC_Send_ISUPPORT(Client))
+	if (!IRC_Send_ISUPPORT(prefix))
 		return DISCONNECTED;
 #endif