]> andersk Git - libfaim.git/blobdiff - src/buddylist.c
- Sat Mar 24 03:16:32 UTC 2001
[libfaim.git] / src / buddylist.c
index 28492aae465070ced1fa98ebffc18595c7f02285..6e3ae9c2264ce5cc936f9a52c12e9bf2eb9bb622 100644 (file)
@@ -78,14 +78,7 @@ static int rights(struct aim_session_t *sess, aim_module_t *mod, struct command_
 static int snachandler(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen)
 {
 
-  faimdprintf(sess, 0, "%s: snachandler: got %x/%x\n", mod->name, snac->family, snac->subtype);
-
-  if (snac->family != mod->family)
-    return 0;
-
-  if (snac->subtype == 0x0001)
-    ;
-  else if (snac->subtype == 0x0003)
+  if (snac->subtype == 0x0003)
     return rights(sess, mod, rx, snac, data, datalen);
   else if (snac->subtype == 0x000b)
     return oncoming(sess, mod, rx, snac, data, datalen);
This page took 0.227155 seconds and 4 git commands to generate.