]> andersk Git - libfaim.git/blobdiff - src/bos.c
- Mon May 7 15:19:55 PDT 2001
[libfaim.git] / src / bos.c
index 829788b9313c47c5dce0ab40fc7dc7eb12132a17..8d6810ba76fb280af426d66e7a2ba4d88233021c 100644 (file)
--- a/src/bos.c
+++ b/src/bos.c
@@ -21,7 +21,7 @@ faim_export unsigned long aim_bos_setgroupperm(struct aim_session_t *sess,
 
 static int rights(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen)
 {
-  rxcallback_t userfunc;
+  aim_rxcallback_t userfunc;
   int ret = 0;
   struct aim_tlvlist_t *tlvlist;
   unsigned short maxpermits = 0, maxdenies = 0;
@@ -56,14 +56,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);
 
   return 0;
This page took 0.04244 seconds and 4 git commands to generate.