mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
The file extension is optional when calling enable_extras.
This commit is contained in:
parent
a56ff68b0a
commit
9cdd7c70ee
2
configure
vendored
2
configure
vendored
@ -355,7 +355,7 @@ if (prompt_bool $interactive, $question, 0) {
|
||||
foreach my $extra (<$RealDir/src/modules/extra/m_*.cpp>) {
|
||||
my $module_name = basename $extra, '.cpp';
|
||||
if (prompt_bool $interactive, "Would you like to enable $module_name?", 0) {
|
||||
enable_extras "$module_name.cpp";
|
||||
enable_extras $module_name;
|
||||
}
|
||||
}
|
||||
} elsif (!defined $opt_disable_auto_extras) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user