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:
parent
0f4ec3deac
commit
d3250be956
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user