- Timestamp:
- 2007-12-03T14:28:45Z (17 years ago)
- Branches:
- master
- Children:
- dce3903
- Parents:
- 2c2df7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r2c2df7d r2ff2076 28 28 #include "crypting.h" 29 29 #include "ipc.h" 30 #include "dcc.h" 31 32 #include <regex.h> 33 #include <netinet/in.h> 30 34 31 35 static gboolean irc_userping( gpointer _irc, int fd, b_input_condition cond ); … … 981 985 return( 1 ); 982 986 } 987 else if( g_strncasecmp( s + 1, "DCC", 3 ) == 0 ) 988 { 989 if( u && u->ic && u->ic->acc->prpl->transfer_request ) 990 { 991 file_transfer_t *ft = dcc_request( u->ic, s + 5 ); 992 if ( ft ) 993 u->ic->acc->prpl->transfer_request( u->ic, ft, u->handle ); 994 } 995 return( 1 ); 996 } 983 997 else 984 998 { 985 irc_usermsg( irc, " Non-ACTION CTCP's aren't supported" );999 irc_usermsg( irc, "Supported CTCPs are ACTION, VERSION, PING, TYPING, DCC" ); 986 1000 return( 0 ); 987 1001 }
Note: See TracChangeset
for help on using the changeset viewer.