public IrcServices(IrcServicesConfig config)
        {
            Config = config;

            //If a bind address has been given, bind to it, otherwise use default behavior.
            if (Config.LocalHost == String.Empty) {
                net = new Net();
            } else {
                net = new Net(Config.LocalHost);
            }

            Parser = new IrcParser();
            Unreal unreal = new Unreal(this, Parser);
            unreal.Setup();
        }
Beispiel #2
0
 public Unreal(IrcServices services, IrcParser parser)
     : base(services, parser)
 {
 }
 public ProtocolBase(IrcServices services, IrcParser parser)
 {
     Parser = parser;
     Services = services;
 }