Changeset 6048744 for protocols/msn/sb.c


Ignore:
Timestamp:
2006-05-26T13:06:20Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6fb6410, 7deb447
Parents:
7bfd574
Message:

Added SB_FATAL to MSN errorcode 911 so BitlBee won't disconnect from MSN
completely when a switchboard connection sends that error code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/sb.c

    r7bfd574 r6048744  
    523523                {
    524524                        msn_sb_destroy( sb );
    525                         return( 0 );
    526                 }
    527                 if( err->flags & STATUS_FATAL )
     525                        return 0;
     526                }
     527                else if( err->flags & STATUS_FATAL )
    528528                {
    529529                        signoff( gc );
    530                         return( 0 );
    531                 }
    532                 if( err->flags & STATUS_SB_IM_SPARE )
     530                        return 0;
     531                }
     532                else if( err->flags & STATUS_SB_IM_SPARE )
    533533                {
    534534                        if( sb->who )
     
    553553                                sb->msgq = NULL;
    554554                        }
     555                       
     556                        /* Do NOT return 0 here, we want to keep this sb. */
    555557                }
    556558        }
Note: See TracChangeset for help on using the changeset viewer.