From d3250be9569f95df19fd35b8a95f77fdff47905a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 10 Nov 2000 00:38:48 +0000 Subject: [PATCH] Don't change client's nick every time someone else changes nick.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@830 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/proxy/listen.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index 2d34ec0b..cdb31d4b 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -425,10 +425,14 @@ static void sig_server_disconnected(IRC_SERVER_REC *server) } } -static void event_nick(const char *data, IRC_SERVER_REC *server) +static void event_nick(const char *data, IRC_SERVER_REC *server, + const char *orignick) { GSList *tmp; + if (g_strcasecmp(orignick, server->nick) != 0) + return; + if (*data == ':') data++; for (tmp = proxy_clients; tmp != NULL; tmp = tmp->next) { CLIENT_REC *rec = tmp->data;