diff --git a/lib/Danga/Client.pm b/lib/Danga/Client.pm index 9e4d64a..c1ceabd 100644 --- a/lib/Danga/Client.pm +++ b/lib/Danga/Client.pm @@ -111,6 +111,7 @@ sub process_read_buf { sub readable { my Danga::Client $self = shift; return 0 if $self->{disable_read} > 0; + return 0 if $self->{closed} > 0; return 1; }