diff options
author | doy <doy@tozt.net> | 2008-12-01 20:09:30 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2008-12-01 20:09:30 -0500 |
commit | 420fe39b3c879469ff22bfa438f611b0b85369ea (patch) | |
tree | 912e32ca0e4138860d81abbce767ce74bf4fb018 | |
parent | 89908979de15cb65a4926fb07518ef22e28261cf (diff) | |
download | log-dispatch-channels-420fe39b3c879469ff22bfa438f611b0b85369ea.tar.gz log-dispatch-channels-420fe39b3c879469ff22bfa438f611b0b85369ea.zip |
remove should always remove the output from all channels
-rw-r--r-- | lib/Log/Dispatch/Channels.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}; } |