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:
parent
4883b5effd
commit
376def3b50
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user