Ignore:
Timestamp:
2010-06-03T00:20:53Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7b71feb
Parents:
704dd38
Message:

Restore add_* handle_unknown settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_user.c

    r704dd38 rad404ab  
    2727#include "bitlbee.h"
    2828
    29 bee_user_t *bee_user_new( bee_t *bee, struct im_connection *ic, const char *handle )
     29bee_user_t *bee_user_new( bee_t *bee, struct im_connection *ic, const char *handle, bee_user_flags_t flags )
    3030{
    3131        bee_user_t *bu;
     
    3737        bu->bee = bee;
    3838        bu->ic = ic;
     39        bu->flags = flags;
    3940        bu->handle = g_strdup( handle );
    4041        bee->users = g_slist_prepend( bee->users, bu );
     
    160161                if( g_strcasecmp( set_getstr( &ic->bee->set, "handle_unknown" ), "add" ) == 0 )
    161162                {
    162                         bu = bee_user_new( bee, ic, handle );
     163                        bu = bee_user_new( bee, ic, handle, BEE_USER_LOCAL );
    163164                }
    164165                else
     
    208209                else if( g_strncasecmp( h, "add", 3 ) == 0 )
    209210                {
    210                         bu = bee_user_new( bee, ic, handle );
     211                        bu = bee_user_new( bee, ic, handle, BEE_USER_LOCAL );
    211212                }
    212213        }
Note: See TracChangeset for help on using the changeset viewer.