1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Add new option irc.look.part_closes_buffer to close buffer when /part is issued on channel (task #10295)

This commit is contained in:
Sebastien Helleu
2010-03-26 20:02:17 +01:00
parent 2bbc228381
commit 485e884751
19 changed files with 84 additions and 28 deletions
+5
View File
@@ -1255,6 +1255,11 @@ IRC_PROTOCOL_CALLBACK(part)
else
irc_command_join_server (server, ptr_channel->name);
}
else
{
if (weechat_config_boolean (irc_config_look_part_closes_buffer))
weechat_buffer_close (ptr_channel->buffer);
}
}
else
irc_nick_free (ptr_channel, ptr_nick);