- my $botmail = &::countKeys("botmail");
- &::msg($::who, "I have \002$botmail\002 ". &::fixPlural("message", $botmail). ".");
+ my $botmail = &::countKeys('botmail');
+ &::msg($::who, "I have \002$botmail\002 ". &::fixPlural('message', $botmail). ".");
- my %from = &::sqlSelectColHash("botmail", "srcwho,time", {
+ my %from = &::sqlSelectColHash('botmail', "srcwho,time", {
my $ago = &::Time2String(time() - $hash{'time'});
&::msg($recipient, "From $hash{srcwho} ($hash{srcuh}) on $date ($ago ago):");
&::msg($recipient, $hash{'msg'});
my $ago = &::Time2String(time() - $hash{'time'});
&::msg($recipient, "From $hash{srcwho} ($hash{srcuh}) on $date ($ago ago):");
&::msg($recipient, $hash{'msg'});
# only support 1 botmail with unique dstwho/srcwho to have same
# functionality as botmail from infobot.
# Note: I removed the &::sqlQuote reference. Seems to be working and inserting fine without it here. -- troubled
# only support 1 botmail with unique dstwho/srcwho to have same
# functionality as botmail from infobot.
# Note: I removed the &::sqlQuote reference. Seems to be working and inserting fine without it here. -- troubled