Aurora.Addon.IRCChat.IRCParcelService.CreateIRCConnection C# (CSharp) Method

CreateIRCConnection() private method

private CreateIRCConnection ( IScenePresence presence, string network ) : void
presence IScenePresence
network string
return void
        private void CreateIRCConnection(IScenePresence presence, string network)
        {
            // Create a new client to the given address with the given nick
            Client client = new Client(network, presence.Name.Replace(' ', '_'));
            Ident.Service.User = client.User;
            HookUpClientEvents(presence, client);
            client.EnableAutoIdent = false;
            client.Connection.Connect();
            clients[presence.UUID] = client;
        }