public Server(IPAddress ip, int port) { _listener = new TcpListener(ip, port); _ircClients = new List <IrcClient>(); _controller = new IrcController(_ircClients); _commandProcessor = new IrcCommandProcessor(_controller); }
public Server(IPAddress ip, int port, string hostname) { EEGuestClient = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "guest", "guest", null); EEStaff = EEGuestClient.BigDB.Load("config", "staff").Properties.Select(p => p.ToLower()).ToList(); _listener = new TcpListener(ip, port); _ircClients = new List <IrcClient>(); _controller = new IrcController(_ircClients); _commandProcessor = new IrcCommandProcessor(_controller); HostName = hostname; }