From: Alexander Barton Date: Sun, 12 Feb 2012 12:51:43 +0000 (+0100) Subject: Fix forwarding of LIST commands X-Git-Tag: rel-19-rc1~3 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=391aa8d1f714d5dc2fc1b47ec466082169ef2177;ds=sidebyside Fix forwarding of LIST commands Bug reported by Cahata, thanks! --- diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index 2d520b31..5ea108ad 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]); } }