Show client versions in the log

This commit is contained in:
Thorvald Natvig 2009-11-04 14:10:33 +01:00
parent 5f07255856
commit bf23ffcf01

View File

@ -1222,6 +1222,7 @@ void Server::msgVersion(ServerUser *uSource, MumbleProto::Version &msg) {
if (msg.has_os_version())
uSource->qsOSVersion = u8(msg.os_version());
}
log(uSource, QString("Client version %1.%2.%3 (%4: %5)").arg(uSource->uiVersion >> 16).arg((uSource->uiVersion >> 8) & 0xff).arg(uSource->uiVersion & 0xFF).arg(uSource->qsOS).arg(uSource->qsRelease));
}
void Server::msgUserList(ServerUser *uSource, MumbleProto::UserList &msg) {