mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
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:
parent
8a92502932
commit
f2f4bf26ce
@ -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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user