Changeset f3b6764 for irc_user.c


Ignore:
Timestamp:
2010-07-09T23:39:25Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
534e406
Parents:
9a9b520 (diff), b556e46 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Only available in ForkDaemon mode for now: If a user connects (and
identifies) while he's already logged in, offer to take over the old
connection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_user.c

    r9a9b520 rf3b6764  
    2525
    2626#include "bitlbee.h"
     27#include "ipc.h"
    2728
    2829irc_user_t *irc_user_new( irc_t *irc, const char *nick )
     
    160161        irc->users = g_slist_insert_sorted( irc->users, iu, irc_user_cmp );
    161162       
     163        if( iu == irc->user )
     164                ipc_to_master_str( "NICK :%s\r\n", new );
     165       
    162166        return 1;
    163167}
Note: See TracChangeset for help on using the changeset viewer.