From d9ab7d2754e02b15d2b6728f63e58083d9652aed Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Tue, 17 May 2011 23:35:56 +0200 Subject: [PATCH] Remove channels from Server's Channels map as well. --- server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server.go b/server.go index 34397b3..f53994c 100644 --- a/server.go +++ b/server.go @@ -1145,6 +1145,7 @@ func (server *Server) RemoveChannel(channel *Channel) { // Remove the channel itself parent := channel.parent parent.children[channel.Id] = nil, false + server.Channels[channel.Id] = nil, false chanremove := &mumbleproto.ChannelRemove{ ChannelId: proto.Uint32(uint32(channel.Id)), }