forked from PsychoticNinja/irssi
fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3214 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a482865446
commit
2f819f285e
@ -128,7 +128,7 @@ static void sig_session_restore_nick(IRC_CHANNEL_REC *channel,
|
|||||||
voice = config_node_get_bool(node, "voice", FALSE);
|
voice = config_node_get_bool(node, "voice", FALSE);
|
||||||
halfop = config_node_get_bool(node, "halfop", FALSE);
|
halfop = config_node_get_bool(node, "halfop", FALSE);
|
||||||
nickrec = irc_nicklist_insert(channel, nick, op, halfop, voice, FALSE);
|
nickrec = irc_nicklist_insert(channel, nick, op, halfop, voice, FALSE);
|
||||||
other = config_node_get_str(node, "other", FALSE);
|
other = config_node_get_str(node, "other", NULL);
|
||||||
nickrec->other = other == NULL ? '\0' : other[0];
|
nickrec->other = other == NULL ? '\0' : other[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user