mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3ccbd0405b
commit
217283caea
30 changed files with 520 additions and 133 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue