1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

make sure nick changes in query don't print warning if query->address is

null


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2738 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-04-29 00:11:18 +00:00 committed by cras
parent 17d5b644f4
commit 904a4fa830

View File

@ -127,7 +127,8 @@ static void signal_query_nick_changed(QUERY_REC *query, const char *oldnick)
/* don't print the nick change message if only the case was changed */
if (g_strcasecmp(query->name, oldnick) != 0) {
printformat_dest(&dest, TXT_NICK_CHANGED, oldnick,
query->name, query->name, query->address);
query->name, query->name,
query->address == NULL ? "" : query->address);
}
signal_emit("window item changed", 2,