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:
parent
6115d73639
commit
de84ce48ff
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user