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.
This commit is contained in:
Alexander Barton 2014-01-27 22:23:47 +01:00
parent 2e168c7809
commit 0fc822d8c4
1 changed files with 1 additions and 1 deletions

View File

@ -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