3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

modules: fix insult.pl printing @ARGV without spaces

This commit is contained in:
Pragmatic Software 2019-08-21 11:07:52 -07:00
parent 6115d73639
commit de84ce48ff

View File

@ -9,7 +9,7 @@ use LWP::Simple;
$_ = get("http://www.randominsults.net/"); $_ = get("http://www.randominsults.net/");
if (/<strong><i>(.*?)\s*<\/i><\/strong>/) { if (/<strong><i>(.*?)\s*<\/i><\/strong>/) {
print @ARGV,': ' if @ARGV; print "@ARGV",': ' if @ARGV;
print "$1\n"; print "$1\n";
} }
else { else {