Module: ngircd.git Branch: master Commit: 391aa8d1f714d5dc2fc1b47ec466082169ef2177 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=391aa...
Author: Alexander Barton alex@barton.de Date: Sun Feb 12 13:51:43 2012 +0100
Fix forwarding of LIST commands
Bug reported by Cahata, thanks!
---
src/ngircd/irc-channel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index 2d520b3..5ea108a 100644 --- a/src/ngircd/irc-channel.c +++ b/src/ngircd/irc-channel.c @@ -651,7 +651,7 @@ IRC_LIST( CLIENT *Client, REQUEST *Req ) /* Target is indeed an other server, forward it! */ return IRC_WriteStrClientPrefix(target, from, "LIST %s :%s", - Client_ID(from), + Req->argv[0], Req->argv[1]); } }