Exemplo n.º 1
0
        public void Connect()
        {
            StripUsernameAndChannel();

            client            = new IRCClient(_ircHost, _ircPort, ToolkitSettings.Username, ToolkitSettings.OAuth, ToolkitSettings.Channel.ToLower());
            client.OnPrivMsg += OnPrivMsg;
            client.Connect();
        }
Exemplo n.º 2
0
        private void Connect()
        {
            StripUsernameAndChannel();

            Helper.Log("creating new connection");

            client            = new IRCClient(_ircHost, _ircPort, ToolkitSettings.Username, ToolkitSettings.OAuth, ToolkitSettings.Channel.ToLower());
            client.OnPrivMsg += OnPrivMsg;
            client.Connect();
        }