#122 closeddial - cdlookup stop msg processing if no group

1.6.x
closed-accepted
modules (179)
5
2010-03-09
2009-12-07
Anonymous
No

cdlookup returns 0 if From user does not belong to a group. This causes the message processing to stop. I changed the return value to -2 so message can be further processsed.

Discussion

  • Emmanuel BUU

    Emmanuel BUU - 2009-12-07

    Index: cdlookup.c

    --- cdlookup.c (revision 6372)
    +++ cdlookup.c (working copy)
    @@ -107,7 +107,7 @@

    /* No group_id found; keeps uri */
    if(group.len == 0) {
    - return 0;
    + return -2;
    }

    /* ... where cd_username ... */

     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> saguti
     
  • Emmanuel BUU

    Emmanuel BUU - 2009-12-29

    Any decision on this one?

     
  • Nobody/Anonymous

    Hello neutrino38.

    I will take a look on this I will upload on trunk.

    Thanks for reporting.

     
  • Bogdan-Andrei Iancu

    Patch applied - thank you!

     
  • Bogdan-Andrei Iancu

    • status: open --> closed-accepted
     

Log in to post a comment.