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