]> andersk Git - libfaim.git/blobdiff - aim_login.c
- Thu Feb 8 20:12:39 UTC 2001
[libfaim.git] / aim_login.c
index 2b5e92b41fc2132affafaf97c2a34ee1b7d5613c..10e1f792fd3a11fed166937bcbaf0e1d410ddde8 100644 (file)
@@ -5,6 +5,7 @@
  *
  */
 
+#define FAIM_INTERNAL
 #include <faim/aim.h>
 
 #include "md5.h"
@@ -199,7 +200,7 @@ faim_export int aim_send_login (struct aim_session_t *sess,
   
     curbyte += aim_puttlv_32(newpacket->data+curbyte, 0x0014, clientinfo->unknown);
     curbyte += aim_puttlv_16(newpacket->data+curbyte, 0x0009, 0x0015);
-    curbyte += aim_puttlv_8(newpacket->data+curbyte, 0x004a, 0x01);
+    curbyte += aim_puttlv_8(newpacket->data+curbyte, 0x004a, 0x00);
   } else {
     /* Use very specific version numbers, to further indicate the hack. */
     curbyte += aim_puttlv_16(newpacket->data+curbyte, 0x0016, 0x010a);
@@ -361,6 +362,14 @@ faim_internal int aim_authparse(struct aim_session_t *sess,
   /*
    * The registration status.  (Not real sure what it means.)
    *   Not available for ICQ logins.
+   *
+   *   1 = No disclosure
+   *   2 = Limited disclosure
+   *   3 = Full disclosure
+   *
+   * This has to do with whether your email address is available
+   * to other users or not.  AFAIK, this feature is no longer used.
+   *
    */
   if (aim_gettlv(tlvlist, 0x0013, 1))
     regstatus = aim_gettlv16(tlvlist, 0x0013, 1);
This page took 0.0359 seconds and 4 git commands to generate.