3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 11:42:35 +01:00

Plugins/Weather: improve error message

This commit is contained in:
Pragmatic Software 2020-01-29 12:40:17 -08:00
parent 9093c16e4a
commit 43f2c38863

View File

@ -65,7 +65,7 @@ sub weathercmd {
$arguments = $location_override if not length $arguments;
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) {