summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make/configure.pm2
-rw-r--r--sources.list1
2 files changed, 2 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm
index 40d6f6749..05db6004e 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -126,7 +126,7 @@ sub getmodversion {
my ($file) = @_;
open(FLAGS, $file) or return "";
while (<FLAGS>) {
- if ($_ =~ /^\/\* \$ModVersion: (.+) \*\/$/) {
+ if (m#(?:^/* \$|")ModVersion: (\S+)(?: \*\/$|")#) {
my $x = translate_functions($1, $file);
next if ($x eq "");
close(FLAGS);
diff --git a/sources.list b/sources.list
index 705bf061f..432658e0f 100644
--- a/sources.list
+++ b/sources.list
@@ -6,3 +6,4 @@
#
# Feel free to add additional sources! :)
http://www.inspircd.com/modules/modules.lst
+http://github.com/danieldg/insp-mods/raw/master/list