Changeset 767a148 for irc.c


Ignore:
Timestamp:
2010-03-21T16:06:31Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1cc0df3, 85693e6
Parents:
545d7c0 (diff), a81d679 (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:

Merging in file transfer support. Most important points from my review
are fixed now, time to let it settle in and get people to try it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r545d7c0 r767a148  
    2929#include "crypting.h"
    3030#include "ipc.h"
     31#include "dcc.h"
    3132
    3233static gboolean irc_userping( gpointer _irc, int fd, b_input_condition cond );
     
    11071108                        return( 1 );
    11081109                }
     1110                else if( g_strncasecmp( s + 1, "DCC", 3 ) == 0 )
     1111                {
     1112                        if( u && u->ic && u->ic->acc->prpl->transfer_request )
     1113                        {
     1114                                file_transfer_t *ft = dcc_request( u->ic, s + 5 );
     1115                                if ( ft )
     1116                                        u->ic->acc->prpl->transfer_request( u->ic, ft, u->handle );
     1117                        }
     1118                        return( 1 );
     1119                }               
    11091120                else
    11101121                {
    1111                         irc_usermsg( irc, "Non-ACTION CTCP's aren't supported" );
     1122                        irc_usermsg( irc, "Supported CTCPs are ACTION, VERSION, PING, TYPING, DCC" );
    11121123                        return( 0 );
    11131124                }
Note: See TracChangeset for help on using the changeset viewer.