Module: ngircd.git Branch: master Commit: dc89e42ef5a60dda96707d2520fad998bf9ac74f URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=dc89e...
Author: Alexander Barton alex@barton.de Date: Sat Nov 24 15:57:45 2012 +0100
RPL_UMODEIS: send correct target name, even on server links
---
src/ngircd/irc-mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/irc-mode.c b/src/ngircd/irc-mode.c index 907c929..ec12e28 100644 --- a/src/ngircd/irc-mode.c +++ b/src/ngircd/irc-mode.c @@ -156,7 +156,7 @@ Client_Mode( CLIENT *Client, REQUEST *Req, CLIENT *Origin, CLIENT *Target ) /* Mode request: let's answer it :-) */ if (Req->argc == 1) return IRC_WriteStrClient(Origin, RPL_UMODEIS_MSG, - Client_ID(Origin), + Client_ID(Target), Client_Modes(Target));
mode_arg = 1;