diff options
Diffstat (limited to 'MySpace/proto.cpp')
-rw-r--r-- | MySpace/proto.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MySpace/proto.cpp b/MySpace/proto.cpp index 91fd26a..0b6cf6d 100644 --- a/MySpace/proto.cpp +++ b/MySpace/proto.cpp @@ -67,6 +67,12 @@ int LoadIcon(WPARAM wParam,LPARAM lParam) { }
int GetInfo(WPARAM wParam,LPARAM lParam) {
+ CCSDATA *ccs = ( CCSDATA* )lParam;
+ int uid;
+ if((uid = DBGetContactSettingDword(ccs->hContact, MODULE, "UID", 0)) == 0)
+ return 1; // fail
+
+ LookupUID(uid);
return 0;
}
|