]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Update.pl
show addressCharacter in error
[infobot.git] / src / Factoids / Update.pl
index c41c9e6e4c00fee09635b2885de70eb583c0f3b9..915eec1b45aefbe6ec8d822fc5bc48a12ce57f50 100644 (file)
@@ -61,7 +61,7 @@ sub update {
 
        my @list;
        my $count = 0;
-       $lhs =~ s/^/CMD: /;
+       $lhs =~ s/^/cmd: /;
        while ($lhs =~ s/\$(\S+)/(.*?)/) {
            push(@list, "\$$1");
            $count++;
@@ -121,7 +121,7 @@ sub update {
 
     if ($also) {                       # 'is also'.
        if ($exists =~ /^<REPLY> see /i) {
-           &DEBUG("Update.pl: todo: append to linked factoid.");
+           &TODO("Update.pl: append to linked factoid.");
        }
 
        if ($also_or) {                 # 'is also ||'.