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:
Timo Sirainen 2000-11-27 10:44:46 +00:00 committed by cras
commit 8290d621f3

View file

@ -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);
}
}