summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-02-12 13:51:43 +0100
committerAlexander Barton <alex@barton.de>2012-02-12 13:51:43 +0100
commit391aa8d1f714d5dc2fc1b47ec466082169ef2177 (patch)
tree7da677f40ba7d6e10edb5f5fb5f26454a1857d13 /src
parent89d99e2ff97e5217e80190765d3e1e9bb59239d6 (diff)
downloadngircd-391aa8d1f714d5dc2fc1b47ec466082169ef2177.tar.gz
ngircd-391aa8d1f714d5dc2fc1b47ec466082169ef2177.zip
Fix forwarding of LIST commands
Bug reported by Cahata, thanks!
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-channel.c2
1 files changed, 1 insertions, 1 deletions
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]);
 		}
 	}