diff options
Diffstat (limited to 'bitlbee.c')
-rw-r--r-- | bitlbee.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ gboolean bitlbee_io_current_client_read( GIOChannel *source, GIOCondition condit } /* Very naughty, go read the RFCs! >:) */ - if( strlen( irc->readbuffer ) > 1024 ) + if( irc->readbuffer && ( strlen( irc->readbuffer ) > 1024 ) ) { log_message( LOGLVL_ERROR, "Maximum line length exceeded." ); irc_free( irc ); |