summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/icq_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/icq_proto.cpp')
-rwxr-xr-x[-rw-r--r--]protocols/IcqOscarJ/icq_proto.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/IcqOscarJ/icq_proto.cpp b/protocols/IcqOscarJ/icq_proto.cpp
index 69b8ed8e61..7df3c037d3 100644..100755
--- a/protocols/IcqOscarJ/icq_proto.cpp
+++ b/protocols/IcqOscarJ/icq_proto.cpp
@@ -126,6 +126,7 @@ cheekySearchId( -1 )
CreateResidentSetting("AwayTS");
CreateResidentSetting("LogonTS");
CreateResidentSetting("DCStatus");
+ CreateResidentSetting("CapBuf"); //capabilities bufer
CreateResidentSetting(DBSETTING_STATUS_NOTE_TIME);
CreateResidentSetting(DBSETTING_STATUS_MOOD);
@@ -164,6 +165,11 @@ cheekySearchId( -1 )
CreateProtoService(MS_REVOKE_AUTH, &CIcqProto::RevokeAuthorization);
CreateProtoService(MS_XSTATUS_SHOWDETAILS, &CIcqProto::ShowXStatusDetails);
+
+ // Custom caps
+ CreateProtoService(PS_ICQ_ADDCAPABILITY, &CIcqProto::IcqAddCapability);
+ CreateProtoService(PS_ICQ_CHECKCAPABILITY, &CIcqProto::IcqCheckCapability);
+
HookProtoEvent(ME_SKIN2_ICONSCHANGED, &CIcqProto::OnReloadIcons);
@@ -270,6 +276,8 @@ CIcqProto::~CIcqProto()
UninitContactsCache();
+ CustomCapList.clear();
+
SAFE_DELETE(&m_ratesMutex);
SAFE_DELETE(&servlistMutex);