Exemplo n.º 1
0
        private static void SendChannels(params Client[] clients)
        {
            ChannelList list = new ChannelList(GetChannels());

            foreach (Client client in clients)
            {
                if (client.Value.Authenticated)
                {
                    list.CurrentChannel = client.Value.Channel;
                    list.Execute(client);
                }
            }
            list.Dispose();
        }