We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec3224d commit 37f771aCopy full SHA for 37f771a
src/clientiface.h
@@ -338,6 +338,7 @@ class RemoteClient
338
u8 getMajor() const { return m_version_major; }
339
u8 getMinor() const { return m_version_minor; }
340
u8 getPatch() const { return m_version_patch; }
341
+ const std::string &getFull() const { return m_full_version; }
342
private:
343
// Version is stored in here after INIT before INIT2
344
u8 m_pending_serialization_version = SER_FMT_VER_INVALID;
src/server.cpp
@@ -1283,7 +1283,7 @@ bool Server::getClientInfo(
1283
*major = client->getMajor();
1284
*minor = client->getMinor();
1285
*patch = client->getPatch();
1286
- *vers_string = client->getPatch();
+ *vers_string = client->getFull();
1287
1288
m_clients.unlock();
1289
0 commit comments