Accept alpha6 modules.

This commit is contained in:
Elijah Perrault committed 2011-02-23 14:27:29 -07:00
1 parent f481f9d4e7
commit b7d6da07b0
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ sub mod_init
if (keys %Auto::SOCKET) { API::Log::slog('MODULES: Attempting to load '.$name.' (version '.$version.') by '.$author.'...'); }
# Check if this module is compatible with this version of Auto.
if ($autover ne '3.0.0a4' and $autover ne '3.0.0a5') {
if ($autover !~ m/^3\.0\.0a(4|5|6)$/xsm) {
API::Log::dbug('MODULES: Failed to load '.$name.': Incompatible with your version of Auto.');
API::Log::alog('MODULES: Failed to load '.$name.': Incompatible with your version of Auto.');
if (keys %Auto::SOCKET) { API::Log::slog('MODULES: Failed to load '.$name.': Incompatible with your version of Auto.'); }