mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Plugins/Weather: improve error message
This commit is contained in:
parent
9093c16e4a
commit
43f2c38863
@ -65,7 +65,7 @@ sub weathercmd {
|
|||||||
$arguments = $location_override if not length $arguments;
|
$arguments = $location_override if not length $arguments;
|
||||||
|
|
||||||
if (defined $user_override and not length $location_override) {
|
if (defined $user_override and not length $location_override) {
|
||||||
return "User account $user_override not found.";
|
return "No location set or user account does not exist.";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (not length $arguments) {
|
if (not length $arguments) {
|
||||||
|
Loading…
Reference in New Issue
Block a user