summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-11 21:01:53 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-11 21:01:53 +0000
commitb33f836f1b863207a430bfa9cd1dffeaa406524d (patch)
tree026c88e51bcdcd8176c6eb474a9b9f733c86824a
parent283563287be02e32ef8a4cad526855faf327f24e (diff)
Extra bracket on regex go away
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11503 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xmodulemanager2
1 files changed, 1 insertions, 1 deletions
diff --git a/modulemanager b/modulemanager
index 80a556a1a..f98b0a3d1 100755
--- a/modulemanager
+++ b/modulemanager
@@ -185,7 +185,7 @@ sub resolve_deps {
my $ver = $todo{$mod};
my $info = $modules{$mod}{$ver} or die "no dependency information on $mod $ver";
for my $dep (@{$info->{depends}}) {
- $dep =~ /^(\S+)(?: \S+))?/ or die "Bad dependency $dep from $info->{from}";
+ $dep =~ /^(\S+)(?: \S+)?/ or die "Bad dependency $dep from $info->{from}";
my($depmod, $depvers) = ($1,$2);
next if $todo{$depmod} && ver_in_range($todo{$depmod}, $depvers);
# need to install a dependency