From 217283caeaf5fc19e671a56547610ceb42e2ea7b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 20 Jan 2004 10:57:57 +0000 Subject: isupport patch by David Leadbeater git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/session.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/session.c') diff --git a/src/core/session.c b/src/core/session.c index ec589d70..2355df78 100644 --- a/src/core/session.c +++ b/src/core/session.c @@ -118,12 +118,17 @@ static void cmd_upgrade(const char *data) static void session_save_nick(CHANNEL_REC *channel, NICK_REC *nick, CONFIG_REC *config, CONFIG_NODE *node) { + static char other[2]; node = config_node_section(node, NULL, NODE_TYPE_BLOCK); config_node_set_str(config, node, "nick", nick->nick); config_node_set_bool(config, node, "op", nick->op); config_node_set_bool(config, node, "halfop", nick->halfop); config_node_set_bool(config, node, "voice", nick->voice); + + other[0] = nick->other; + other[1] = '\0'; + config_node_set_str(config, node, "other", other); signal_emit("session save nick", 4, channel, nick, config, node); } -- cgit v1.2.3