Beispiel #1
0
 public ConnectionService(IRCQueueBot q)
     : base(q)
 {
     _csettings = LoadConnectionSettings(Q.Config);
     if (_csettings == null) {
         Log(LogLevel.Error, "Failed to load IRC connection settings.");
         throw new Exception();
     }
     _irc = new IrcConnection(_csettings, Q.Enqueue);
 }
Beispiel #2
0
 internal IrcParser(IrcConnection c)
 {
     Entities = c.Entities;
     WriteOut = c.WriteOut;
 }