Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_text.c

    rd25f6fc r4146a07  
    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
    2937
    3038/* DO NOT USE THIS FUNCTION IN NEW CODE. This
     
    3442{
    3543        switch (id) {
    36         case 0: case 1: case 3: return find_protocol("oscar");
     44        case 1: return find_protocol("oscar");
    3745        case 4: return find_protocol("msn");
    3846        case 2: return find_protocol("yahoo");
     
    7179        user_t *ru = user_find( irc, ROOT_NICK );
    7280       
    73         if( irc->status >= USTATUS_IDENTIFIED )
     81        if( irc->status == USTATUS_IDENTIFIED )
    7482                return( 1 );
    7583       
Note: See TracChangeset for help on using the changeset viewer.