summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/fam_01service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/fam_01service.cpp')
-rwxr-xr-x[-rw-r--r--]protocols/IcqOscarJ/fam_01service.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/IcqOscarJ/fam_01service.cpp b/protocols/IcqOscarJ/fam_01service.cpp
index cba344a195..58860481ca 100644..100755
--- a/protocols/IcqOscarJ/fam_01service.cpp
+++ b/protocols/IcqOscarJ/fam_01service.cpp
@@ -683,6 +683,8 @@ void CIcqProto::setUserInfo()
wAdditionalData += 16;
#endif
+ wAdditionalData += CustomCapList.size() * 16;
+
//MIM/PackName
bool bHasPackName = false;
DBVARIANT dbv;
@@ -771,6 +773,12 @@ void CIcqProto::setUserInfo()
ICQFreeVariant(&dbv);
}
+ if(!CustomCapList.empty())
+ {
+ for(std::list<ICQ_CUSTOMCAP*>::iterator it = CustomCapList.begin(), end = CustomCapList.end(); it != end; ++it)
+ packBuffer(&packet, (BYTE*)(*it)->caps, 0x10);
+ }
+
sendServPacket(&packet);
}