X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FUserExtra.pl;h=ada60ce8113155e9c07a0e378c67793df0f403a1;hb=f7cae48a17d6decd0a9bd997188271daa0a885b1;hp=cc6726565f47e090f1bef684fd6834e0d70ef614;hpb=93eb520d8e5ebbdea3a20029d9d95e0d4e848901;p=infobot.git diff --git a/src/UserExtra.pl b/src/UserExtra.pl index cc67265..ada60ce 100644 --- a/src/UserExtra.pl +++ b/src/UserExtra.pl @@ -225,7 +225,7 @@ sub factstats { sub karma { my $target = lc( shift || $who ); my $karma = &sqlSelect("stats", "counter", - { nick => $target, type => "karma" }) || 0; + { nick => $target, type => "karma" }) || 0; if ($karma != 0) { &pSReply("$target has karma of $karma"); @@ -330,7 +330,7 @@ sub tell { $target = $talkchannel if ($target =~ /^us$/i); $target = $who if ($target =~ /^(me|myself)$/i); - &status("tell: target = $target, query = $query"); + &status("tell: target = $target, query = $query"); # "intrusive". # if ($target !~ /^$mask{chan}$/ and !&IsNickInAnyChan($target)) { @@ -416,7 +416,7 @@ sub DNS { $result = $match." is ".$x unless ($x =~ /^\s*$/); } else { $result = "I can't seem to find that address in DNS"; - } + } } else {