]> git.donarmstrong.com Git - infobot.git/blobdiff - src/logger.pl
don't forget the backslash
[infobot.git] / src / logger.pl
index a74602d42a1d9aeab2979d3b3e1cb22b331af7ea..116ee543c0a14beb9583d9443b0c62f8b9aeda9b 100644 (file)
@@ -223,7 +223,7 @@ sub status {
 
     for ($input) {
        s/\n+$//;
-       s/\002|037//g;  # bold,video,underline => remove.
+       s/\002|\037//g; # bold,video,underline => remove.
     }
 
     # does this work?
@@ -376,7 +376,7 @@ sub debug_perl {
        return;
     }
 
-    # todo: better filename.
+    # TODO: better filename.
     open(OUT, ">>debug.log");
     print OUT "DEBUG: $str\n";
 
@@ -386,8 +386,8 @@ sub debug_perl {
        chop;
        $i++;
        # bleh. this tries to duplicate status().
-       # todo: statcountfix
-       # todo: rename to log_*someshit*
+       # TODO: statcountfix
+       # TODO: rename to log_*someshit*
        if ($i == $line) {
            my $msg = "$file: $i:!$_";
            printf "%s[%6d]%s %s\n", $_green, $statcount, $ob, $msg;