aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/bitlbee.c b/bitlbee.c
index 0e1415e8..563d9344 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -266,16 +266,9 @@ gboolean bitlbee_io_current_client_write( gpointer data, gint fd, b_input_condit
if( st == size )
{
- if( irc->status & USTATUS_SHUTDOWN )
- {
- irc_free( irc );
- }
- else
- {
- g_free( irc->sendbuffer );
- irc->sendbuffer = NULL;
- irc->w_watch_source_id = 0;
- }
+ g_free( irc->sendbuffer );
+ irc->sendbuffer = NULL;
+ irc->w_watch_source_id = 0;
return FALSE;
}