]> git.donarmstrong.com Git - infobot.git/commitdiff
flip color and what around
authorDon Armstrong <don@donarmstrong.com>
Fri, 29 Dec 2017 22:05:32 +0000 (14:05 -0800)
committerDon Armstrong <don@donarmstrong.com>
Fri, 29 Dec 2017 22:05:32 +0000 (14:05 -0800)
src/logger.pl

index 03252aff7dddefd17536c6f13d85c33da100f786..2a5d1d32927cc8af01ef52364f8e854453d9abda 100644 (file)
@@ -171,7 +171,7 @@ sub compress {
 }
 
 sub __output {
-    my ($what,$color,$message) = @_;
+    my ($color,$what,$message) = @_;
     my (undef,undef,$line,$subroutine,undef) = caller(2);
     use String::Escape qw();
     status("$color!$what!$ob ".$subroutine.'['.$line.'] '.String::Escape::backslash($message));