diff options
Diffstat (limited to 'protocols/IcqOscarJ/fam_01service.cpp')
-rw-r--r-- | protocols/IcqOscarJ/fam_01service.cpp | 12 |
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 ) {
|