public void Connect() { StripUsernameAndChannel(); client = new IRCClient(_ircHost, _ircPort, ToolkitSettings.Username, ToolkitSettings.OAuth, ToolkitSettings.Channel.ToLower()); client.OnPrivMsg += OnPrivMsg; client.Connect(); }
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(); }