Changeset bb151f7 for irc_send.c


Ignore:
Timestamp:
2010-11-20T20:25:44Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
748bcdd
Parents:
d68365c
Message:

Added irc_channel_with_user() function to find a suitable channel to show
a user's message in, instead of just &bitlbee by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    rd68365c rbb151f7  
    127127                if( iu->last_channel->flags & IRC_CHANNEL_JOINED )
    128128                        ic = iu->last_channel;
    129                 else if( irc->default_channel->flags & IRC_CHANNEL_JOINED )
    130                         ic = irc->default_channel;
     129                else
     130                        ic = irc_channel_with_user( irc, irc->root );
    131131        }
    132132       
Note: See TracChangeset for help on using the changeset viewer.