From 6c38a7cfc8b4cf831da178101b3ae2fc83596081 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 23 Mar 2007 13:23:30 +0000 Subject: [PATCH] ->message(0, ...) sollte wieder funktionieren --- SL/LXDebug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/LXDebug.pm b/SL/LXDebug.pm index 1071ef3e7..59a6579d2 100644 --- a/SL/LXDebug.pm +++ b/SL/LXDebug.pm @@ -97,7 +97,7 @@ sub leave_sub { sub message { my ($self, $level, $message) = @_; - $self->_write(level2string($level), $message) if (($self->{"level"} | $global_level) & $level); + $self->_write(level2string($level), $message) if (($self->{"level"} | $global_level) & $level || !$level); } sub dump { -- 2.20.1