summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprotocols/IcqOscarJ/fam_01service.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/fam_01service.cpp b/protocols/IcqOscarJ/fam_01service.cpp
index 3b98079716..a2f4483674 100755
--- a/protocols/IcqOscarJ/fam_01service.cpp
+++ b/protocols/IcqOscarJ/fam_01service.cpp
@@ -28,6 +28,7 @@
//
// -----------------------------------------------------------------------------
#include "icqoscar.h"
+#include <m_version.h>
extern capstr capXStatus[];
@@ -761,10 +762,7 @@ void CIcqProto::setUserInfo()
packDWord(&packet, 0x4D697261); // Miranda Signature
packDWord(&packet, 0x6E64614E);
- int v[4];
- char mirver[100];
- CallService(MS_SYSTEM_GETVERSIONTEXT, SIZEOF(mirver), LPARAM(mirver));
- sscanf(mirver, "%d.%d.%d.%d", &v[0], &v[1], &v[2], &v[3]);
+ int v[4] = { MIRANDA_VERSION_FILEVERSION };
packWord(&packet, v[0]);
packWord(&packet, v[1]);
packWord(&packet, v[2]);