Use string versions in "module" line instead of numerical versions.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11487 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2009-08-04 19:55:23 +00:00
parent 8a92502932
commit f2f4bf26ce

View File

@ -36,7 +36,7 @@ sub parse_url {
for (split /\n+/, $doc) { for (split /\n+/, $doc) {
s/^\s+//; # ignore whitespace at start s/^\s+//; # ignore whitespace at start
next if /^#/; next if /^#/;
if (/^module (\S+) ([0-9.]+) (\S+)/) { if (/^module (\S+) (\S+) (\S+)/) {
my($name, $ver, $url) = ($1,$2,$3); my($name, $ver, $url) = ($1,$2,$3);
if ($modules{$name}{$ver}) { if ($modules{$name}{$ver}) {
my $origsrc = $modules{$name}{$ver}{from}; my $origsrc = $modules{$name}{$ver}{from};