3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Plugins/Wttr: option -u would not allow -default to get set; fixed

This commit is contained in:
Pragmatic Software 2020-01-31 23:17:02 -08:00
parent 4883b5effd
commit 376def3b50

View File

@ -95,6 +95,9 @@ sub wttrcmd {
return "No location set or user account does not exist."; return "No location set or user account does not exist.";
} }
delete $options{u};
delete $options{h};
if (not length $arguments) { if (not length $arguments) {
return $usage; return $usage;
} }