mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 20:22:37 +01:00
Plugins/Wttr: very minor clean-up
This commit is contained in:
parent
761b737ccc
commit
23750d0ef7
@ -159,13 +159,11 @@ sub get_weather {
|
|||||||
$sep = ' -> ';
|
$sep = ' -> ';
|
||||||
$last_condition = $condition;
|
$last_condition = $condition;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($sep eq '') {
|
if ($sep eq '') {
|
||||||
$result .= $last_condition;
|
$result .= $last_condition;
|
||||||
}
|
}
|
||||||
|
|
||||||
$result .= "; ";
|
$result .= "; ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user