# InspIRCd -- Internet Relay Chat Daemon
#
# Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org>
-# Copyright (C) 2013-2020 Sadie Powell <sadie@witchery.services>
+# Copyright (C) 2013-2021 Sadie Powell <sadie@witchery.services>
# Copyright (C) 2012 Robby <robby@chatbelgie.be>
# Copyright (C) 2007-2008 Craig Edwards <brain@inspircd.org>
# Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
sub module_shrink($) {
my $module = basename shift;
- return $module =~ s/(?:^m_|\.cpp$)//gr;
+ $module =~ s/(?:^m_|\.cpp$)//g;
+ return $module;
}
sub write_configure_cache(%) {