1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Fix crash on netsplit+join after /upgrade from 0.8.9

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4047 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Wouter Coekaerts 2005-10-18 19:50:09 +00:00 committed by coekie
parent 9548cbfadb
commit 0f54aa2285

View File

@ -434,7 +434,7 @@ static const char *get_nick_flags(SERVER_REC *server)
const char *prefix =
g_hash_table_lookup(irc_server->isupport, "PREFIX");
prefix = strchr(prefix, ')');
prefix = prefix == NULL ? NULL : strchr(prefix, ')');
return prefix == NULL ? "" : prefix+1;
}