Remove temporary channels when the last client leaves.

This commit is contained in:
Mikkel Krautz 2011-11-13 01:27:02 +01:00
parent f5008c12e5
commit 83fe0c737e
4 changed files with 31 additions and 12 deletions

View file

@ -547,7 +547,7 @@ func (client *Client) sendChannelTree(channel *Channel) {
}
}
if channel.Temporary {
if channel.IsTemporary() {
chanstate.Temporary = proto.Bool(true)
}