Changeset 21782b3


Ignore:
Timestamp:
2007-02-18T22:52:48Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d4589cb
Parents:
dcf0f3e
Message:

Silencing some (hopefully) bogus warnings because too many people will
be annoyed by them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/presence.c

    rdcf0f3e r21782b3  
    4040                if( !( bud = jabber_buddy_by_jid( gc, from, GET_BUDDY_EXACT | GET_BUDDY_CREAT ) ) )
    4141                {
    42                         serv_got_crap( gc, "WARNING: Could not handle presence information from JID: %s", from );
     42                        if( set_getbool( &gc->irc->set, "debug" ) )
     43                                serv_got_crap( gc, "WARNING: Could not handle presence information from JID: %s", from );
    4344                        return XT_HANDLED;
    4445                }
     
    7273                if( jabber_buddy_by_jid( gc, from, GET_BUDDY_EXACT ) == NULL )
    7374                {
    74                         serv_got_crap( gc, "WARNING: Received presence information from unknown JID: %s", from );
     75                        if( set_getbool( &gc->irc->set, "debug" ) )
     76                                serv_got_crap( gc, "WARNING: Received presence information from unknown JID: %s", from );
    7577                        return XT_HANDLED;
    7678                }
Note: See TracChangeset for help on using the changeset viewer.