mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02: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:
parent
9548cbfadb
commit
0f54aa2285
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue