Beispiel #1
0
 public void Connect()
 {
     MyDBConn = new DBConnection();
     Channels = new Dictionary <string, Channel>(StringComparer.InvariantCultureIgnoreCase);
     MyDBConn.Connect(Config.SQLServerHost, Config.SQLServerPort, Config.SQLUsername, Config.SQLPassword, Config.SQLDatabase);
     BotCommands = new BotCommands(this);
     AppLog.WriteLine(3, "STATUS", "Connecting to Server ID " + m_ID);
     NetworkLog   = new NetworkLog(ID, Network);
     m_ServerComm = new IRC.ServerComm();
     m_ServerComm.StartClient(this);
 }
 public void Connect()
 {
     MyDBConn = new DBConnection();
     Channels = new Dictionary<string, Channel>(StringComparer.InvariantCultureIgnoreCase);
     MyDBConn.Connect(Config.SQLServerHost, Config.SQLServerPort, Config.SQLUsername, Config.SQLPassword, Config.SQLDatabase);
     BotCommands = new BotCommands(this);
     AppLog.WriteLine(3, "STATUS", "Connecting to Server ID " + m_ID);
     NetworkLog = new NetworkLog(ID, Network);
     m_ServerComm = new IRC.ServerComm();
     m_ServerComm.StartClient(this);
 }