# 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>
return @socketengines;
}
-# TODO: when buildtool is done this can be mostly removed with
-# the remainder being merged into parse_templates.
sub __get_template_settings($$$) {
# These are actually hash references
my ($what, $result, $adjective) = @_;
$adjective //= 'available';
print console_format "Checking whether <|GREEN $what|> is $adjective ... ";
- say console_format $result ? "<|GREEN yes|>" : "<|RED no|>";
+ say console_format($result ? "<|GREEN yes|>" : "<|RED no|>");
return $result;
}
sub module_shrink($) {
my $module = basename shift;
- return $module =~ s/(?:^m_|\.cpp$)//gr;
+ $module =~ s/(?:^m_|\.cpp$)//g;
+ return $module;
}
sub write_configure_cache(%) {