- Timestamp:
- 2005-11-18T19:10:20Z (18 years ago)
- Branches:
- master
- Children:
- d908e3a
- Parents:
- 517ecc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r517ecc4 r22d41a2 931 931 } 932 932 933 void irc_write_all( char *format, ... )933 void irc_write_all( int now, char *format, ... ) 934 934 { 935 935 va_list params; 936 936 GSList *temp; 937 937 938 938 va_start( params, format ); 939 939 940 940 temp = irc_connection_list; 941 while( temp!=NULL ) { 941 while( temp != NULL ) 942 { 943 irc_t *irc = temp->data; 944 945 if( now ) 946 { 947 g_free( irc->sendbuffer ); 948 irc->sendbuffer = g_strdup( "\r\n" ); 949 } 942 950 irc_vawrite( temp->data, format, params ); 951 if( now ) 952 { 953 bitlbee_io_current_client_write( irc->io_channel, G_IO_OUT, irc ); 954 } 943 955 temp = temp->next; 944 956 } 945 957 946 958 va_end( params ); 947 959 return;
Note: See TracChangeset
for help on using the changeset viewer.