diff options
author | Timo Sirainen <cras@irssi.org> | 2004-01-20 10:57:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-01-20 10:57:57 +0000 |
commit | 217283caeaf5fc19e671a56547610ceb42e2ea7b (patch) | |
tree | 7f2fa9d29fdd2d9bb9f7782f1c928a53cebe70d2 /src/core/session.c | |
parent | 3ccbd0405b8d3185a143c150a5b42070403fdc36 (diff) | |
download | irssi-217283caeaf5fc19e671a56547610ceb42e2ea7b.zip |
isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/session.c')
-rw-r--r-- | src/core/session.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); } |