mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Call /part command instead of directly sending part message to server when
destroying channel. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@888 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6aa8af346c
commit
8290d621f3
@ -86,7 +86,7 @@ static void sig_channel_destroyed(IRC_CHANNEL_REC *channel)
|
||||
if (channel->server != NULL && !channel->left && !channel->kicked) {
|
||||
/* destroying channel record without actually
|
||||
having left the channel yet */
|
||||
irc_send_cmdv(channel->server, "PART %s", channel->name);
|
||||
signal_emit("command part", 3, "", channel->server, channel);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user