diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-10 00:38:48 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-10 00:38:48 +0000 |
commit | d3250be9569f95df19fd35b8a95f77fdff47905a (patch) | |
tree | 11483f33f77229c1738a2b952e6c349e104fb735 /src/irc | |
parent | 0f4ec3deacf40f9d7cd1beb819a735add516ecc4 (diff) | |
download | irssi-d3250be9569f95df19fd35b8a95f77fdff47905a.zip |
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
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/proxy/listen.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |