Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_text.c

    r4146a07 rd25f6fc  
    2727#include "bitlbee.h"
    2828#include "crypting.h"
    29 #ifdef _WIN32
    30 # define umask _umask
    31 # define mode_t int
    32 #endif
    33 
    34 #ifndef F_OK
    35 #define F_OK 0
    36 #endif
    3729
    3830/* DO NOT USE THIS FUNCTION IN NEW CODE. This
     
    4234{
    4335        switch (id) {
    44         case 1: return find_protocol("oscar");
     36        case 0: case 1: case 3: return find_protocol("oscar");
    4537        case 4: return find_protocol("msn");
    4638        case 2: return find_protocol("yahoo");
     
    7971        user_t *ru = user_find( irc, ROOT_NICK );
    8072       
    81         if( irc->status == USTATUS_IDENTIFIED )
     73        if( irc->status >= USTATUS_IDENTIFIED )
    8274                return( 1 );
    8375       
Note: See TracChangeset for help on using the changeset viewer.