]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/configure.pm
Fix excessive snomask sending on fitler add/removal
[user/henk/code/inspircd.git] / make / configure.pm
index b7f621a37f86927be777025c116f1f0c1b568649..05db6004e75b8864cdd1ceceb4f70115a51b1c6c 100644 (file)
@@ -3,7 +3,7 @@
 #       +------------------------------------+
 #
 #  InspIRCd: (C) 2002-2009 InspIRCd Development Team
-# See: http://www.inspircd.org/wiki/index.php/Credits
+# See: http://wiki.inspircd.org/Credits
 #
 # This program is free but copyrighted software; see
 #      the file COPYING for details.
@@ -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);