3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +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.";
}
delete $options{u};
delete $options{h};
if (not length $arguments) {
return $usage;
}