mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Plugins/Weather: fix typo
This commit is contained in:
parent
d96317fe1a
commit
464e41b256
@ -66,7 +66,7 @@ sub get_weather {
|
|||||||
if ($response->is_success) {
|
if ($response->is_success) {
|
||||||
$xml = $response->decoded_content;
|
$xml = $response->decoded_content;
|
||||||
} else {
|
} else {
|
||||||
return "Failed to fetch weather date: " . $response->status_line;
|
return "Failed to fetch weather data: " . $response->status_line;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $dom = XML::LibXML->load_xml(string => $xml);
|
my $dom = XML::LibXML->load_xml(string => $xml);
|
||||||
|
Loading…
Reference in New Issue
Block a user