mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix ModuleManager error caused by a lack of arguments.
This commit is contained in:
parent
65072d44f2
commit
ac8a394a5c
@ -262,7 +262,7 @@ sub resolve_deps {
|
||||
}
|
||||
}
|
||||
|
||||
my $action = lc shift @ARGV;
|
||||
my $action = $#ARGV > 0 ? lc shift @ARGV : 'help';
|
||||
|
||||
if ($action eq 'install') {
|
||||
for my $mod (@ARGV) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user