Print server types when starting servers

Should have done this back when I added serverType.
This commit is contained in:
dongresource 2024-10-17 00:21:19 +02:00
parent 94064e1865
commit 5e92a58134

View File

@ -428,7 +428,7 @@ void CNServer::removePollFD(int fd) {
}
void CNServer::start() {
std::cout << "Starting server at *:" << port << std::endl;
std::cout << "Starting " << serverType << " server at *:" << port << std::endl;
while (active) {
// the timeout is to ensure shard timers are ticking
int n = poll(fds.data(), fds.size(), 50);