Remove requirement for dummy command method in hook-only plugins
This commit is contained in:
parent
cf8ce7dc52
commit
6850ed22be
15 changed files with 8 additions and 27 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
my $timeout = 10;
|
||||
|
||||
sub command { NEXT }
|
||||
|
||||
sub hook_prompt_idle {
|
||||
my ($class, $cart, $plugin, $seconds, $readline) = @_;
|
||||
if ($seconds >= $timeout and $cart->size and not $plugin) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue