summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-session.c')
-rw-r--r--src/irc/core/irc-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-session.c b/src/irc/core/irc-session.c
index fda9f9c3..cf6a5098 100644
--- a/src/irc/core/irc-session.c
+++ b/src/irc/core/irc-session.c
@@ -128,7 +128,7 @@ static void sig_session_restore_nick(IRC_CHANNEL_REC *channel,
voice = config_node_get_bool(node, "voice", FALSE);
halfop = config_node_get_bool(node, "halfop", 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];
}