summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/fam_01service.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-26 07:16:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-26 07:16:41 +0000
commit9b7b378a1e13a21311718aa7fceb55982442b10d (patch)
treeca39b7fbc8b793f1058df73be4ee8af9af831653 /protocols/IcqOscarJ/fam_01service.cpp
parent7a6170b42556a9af96354cb5a94d0cdb9e2dcca7 (diff)
fix for Miranda NG detection in ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@1187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/fam_01service.cpp')
-rw-r--r--protocols/IcqOscarJ/fam_01service.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/fam_01service.cpp b/protocols/IcqOscarJ/fam_01service.cpp
index 69d49a7e17..cba344a195 100644
--- a/protocols/IcqOscarJ/fam_01service.cpp
+++ b/protocols/IcqOscarJ/fam_01service.cpp
@@ -755,11 +755,15 @@ void CIcqProto::setUserInfo()
#ifdef DBG_CAPHTML
packShortCapability(&packet, 0x0002); // CAP_HTMLMSGS
#endif
-
+
packDWord(&packet, 0x4D697261); // Miranda Signature
- packDWord(&packet, 0x6E64614D);
- packDWord(&packet, MIRANDA_VERSION);
- packDWord(&packet, ICQ_PLUG_VERSION);
+ packDWord(&packet, 0x6E64614E);
+
+ WORD ver[4] = { MIRANDA_VERSION_FILEVERSION };
+ packWord(&packet, ver[0]);
+ packWord(&packet, ver[1]);
+ packWord(&packet, ver[2]);
+ packWord(&packet, ver[3]);
//MIM/PackName
if ( bHasPackName ) {