- Read in the server's address and port from the configuration file
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-03 14:34:43 +02:00
parent d2423d986a
commit 0638b6c713
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ void main(string[] args)
}
// TODO: Extract config info here and set it in the `connInfo` below
ConnectionInfo connInfo = ConnectionInfo.newConnection("worcester.community.networks.deavmi.assigned.network", 6667, "bottyng", "doggie", "Tristan B. Kildaire");
ConnectionInfo connInfo = ConnectionInfo.newConnection(config.serverAddr, config.serverPort, "bottyng", "doggie", "Tristan B. Kildaire");
// // Set the fakelag to 1 second
// connInfo.setFakeLag(1);