Changeset 534

Show
Ignore:
Timestamp:
07/02/08 23:45:23 (10 months ago)
Author:
smoku
Message:

Webstatus presence resource enabled only when service enabled

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sm/mod_status.c

    r533 r534  
    202202 
    203203    /* answer to probes and subscription requests*/ 
    204     if(st->resource && pkt->type == pkt_PRESENCE_PROBE || pkt->type == pkt_S10N) { 
     204    if(st->resource && (pkt->type == pkt_PRESENCE_PROBE || pkt->type == pkt_S10N)) { 
    205205        log_debug(ZONE, "answering presence probe/sub from %s with /%s resource", jid_full(pkt->from), st->resource); 
    206206