Inheritance: MessageHandler
コード例 #1
0
ファイル: IrcBase.cs プロジェクト: Schumix/Schumix2
        public void NewServer(string ServerName, int ServerId, string Host, int Port)
        {
            lock(Lock)
            {
                var nw = new Network(ServerName.ToLower(), ServerId, Host, Port);

                if(IRCConfig.List[ServerName].Ssl)
                    nw.SetConnectionType(ConnectionType.Ssl);

                _networks.Add(ServerName, nw);
                _networks[ServerName.ToLower()].InitializeIgnoreCommand();
            }
        }