Allow '.' in module names, because why not?

This commit is contained in:
Chris 2016-01-20 21:54:55 +00:00
parent bb79a21849
commit a0703c04a1

View File

@ -138,7 +138,7 @@ sub new_module {
$mode = "id = ?"; $mode = "id = ?";
# names are just alphanumerics # names are just alphanumerics
} elsif($arg =~ /^[a-zA-Z0-9]+$/) { } elsif($arg =~ /^[a-zA-Z0-9.]+$/) {
$mode = "name LIKE ?"; $mode = "name LIKE ?";
} }