public void Connect(string host, int port, bool ssl = true) { Host = host; Port = port; SSL = ssl; Client = new IrcClient (); Client.Disconnected += _Connect; Client.ChannelMessage += (message, sender) => { if (message.StartsWith ("$")) { message = message.Substring (1); ActionPool.Instance.ProcessCommand (this, message); } }; _Connect (this, EventArgs.Empty); }
public IrcUpstream() { Client = new IrcClient(); Actions = new List <HostAction> (); }
public IrcUpstream() { Client = new IrcClient (); Actions = new List<HostAction> (); }