mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Plugins/Wttr: remove "Weather for" prefix
This commit is contained in:
parent
d9d44ff4f5
commit
fe62282015
@ -143,7 +143,7 @@ sub get_wttr {
|
|||||||
|
|
||||||
$location =~ s/United States of America/USA/;
|
$location =~ s/United States of America/USA/;
|
||||||
|
|
||||||
my $result = "Weather for $location: ";
|
my $result = "$location: ";
|
||||||
|
|
||||||
my $c = $wttr->{'current_condition'}->[0];
|
my $c = $wttr->{'current_condition'}->[0];
|
||||||
my $w = $wttr->{'weather'}->[0];
|
my $w = $wttr->{'weather'}->[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user