Commit Diff
- Commit:
0fc822d8c44be42a62d3c26bbab99d5d0bc88346
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Message:
- 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.
- Actions:
- Patch | Tree
--- src/ngircd/irc-info.c +++ 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