Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r18e1f3b r0e788f5  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2010 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2012 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
     
    382382static void irc_cmd_notice( irc_t *irc, char **cmd )
    383383{
     384        irc_user_t *iu;
     385       
    384386        if( !cmd[2] )
    385387        {
     
    392394        if( nick_cmp( cmd[1], irc->user->nick ) == 0 )
    393395                irc_send_msg( irc->user, "NOTICE", irc->user->nick, cmd[2], NULL );
     396        else if( ( iu = irc_user_by_name( irc, cmd[1] ) ) )
     397                iu->f->privmsg( iu, cmd[2] );
    394398}
    395399
Note: See TracChangeset for help on using the changeset viewer.