Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/murmur/Messages.cpp b/src/murmur/Messages.cpp
- index db4c55e..189e8a0 100644
- --- a/src/murmur/Messages.cpp
- +++ b/src/murmur/Messages.cpp
- @@ -188,6 +188,14 @@ void Server::msgAuthenticate(ServerUser *uSource, MumbleProto::Authenticate &msg
- ok = false;
- }
- +#if 1
- + if (uSource->uiVersion < 0x010201) {
- + reason = QString::fromLatin1("An 1.2.1 or newer client is required to connect to this server");
- + rtType = MumbleProto::Reject_RejectType_WrongVersion;
- + ok = false;
- + }
- +#endif
- +
- if (! ok) {
- log(uSource, QString("Rejected connection: %1").arg(reason));
- MumbleProto::Reject mpr;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement