1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Timo Sirainen 2000-11-10 00:38:48 +00:00 committed by cras
parent 0f4ec3deac
commit d3250be956

View File

@ -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; GSList *tmp;
if (g_strcasecmp(orignick, server->nick) != 0)
return;
if (*data == ':') data++; if (*data == ':') data++;
for (tmp = proxy_clients; tmp != NULL; tmp = tmp->next) { for (tmp = proxy_clients; tmp != NULL; tmp = tmp->next) {
CLIENT_REC *rec = tmp->data; CLIENT_REC *rec = tmp->data;