1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

If you had query with "X" but the nick really was "x", and after nick change

to "X" you saw "X changed nick to X"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2561 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-10 16:23:37 +00:00 committed by cras
parent aae7eae9a0
commit 25ed0acc65

View File

@ -81,7 +81,7 @@ static void event_nick(SERVER_REC *server, const char *data,
char *params, *nick;
query = query_find(server, orignick);
if (query != NULL) {
if (query != NULL && strcmp(query->name, nick) != 0) {
params = event_get_params(data, 1, &nick);
query_change_nick(query, nick);
g_free(params);