diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-29 00:11:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-29 00:11:18 +0000 |
commit | 904a4fa8301ab31e199f2b142795e49245e830c8 (patch) | |
tree | ed59e83e77d86915eac5bdb1b1227cb156e2e3a7 /src/fe-common | |
parent | 17d5b644f49713db77f6f678dfe3da4db89978cb (diff) | |
download | irssi-904a4fa8301ab31e199f2b142795e49245e830c8.zip |
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
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-queries.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c index 65fef3ef..c6bfaef2 100644 --- a/src/fe-common/core/fe-queries.c +++ b/src/fe-common/core/fe-queries.c @@ -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, |