From 420fe39b3c879469ff22bfa438f611b0b85369ea Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 1 Dec 2008 20:09:30 -0500 Subject: remove should always remove the output from all channels --- lib/Log/Dispatch/Channels.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Log/Dispatch/Channels.pm b/lib/Log/Dispatch/Channels.pm index 801e0e2..479767c 100644 --- a/lib/Log/Dispatch/Channels.pm +++ b/lib/Log/Dispatch/Channels.pm @@ -130,7 +130,7 @@ sub remove { my $output = shift; my %args = @_; - $self->_forward_to_channels($args{channels}, 'remove', $output); + $self->_forward_to_channels(undef, 'remove', $output); return delete $self->{outputs}{$output}; } -- cgit v1.2.3-54-g00ecf