Changeset 92c8d41 for irc_user.c


Ignore:
Timestamp:
2010-06-26T21:26:41Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e907683
Parents:
41d415b
Message:

Remember in which channel the user talked to someone and show responses in
that same channel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_user.c

    r41d415b r92c8d41  
    3434        iu->user = iu->host = iu->fullname = iu->nick;
    3535       
    36         iu->flags = set_getbool( &irc->b->set, "private" ) ? IRC_USER_PRIVATE : 0;
     36        if( set_getbool( &irc->b->set, "private" ) )
     37                iu->last_channel = NULL;
     38        else
     39                iu->last_channel = irc->default_channel;
    3740       
    3841        iu->key = g_strdup( nick );
Note: See TracChangeset for help on using the changeset viewer.