From 024b3d51436d4821af12b88d04a4fde57a615ce3 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Sat, 28 Jan 2017 00:01:44 -0800 Subject: [PATCH] Also fix the syntax for macros. funcs are broken but nobody fucking uses those, even me. --- plugins/factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/factoids.pm b/plugins/factoids.pm index 3708748..3607575 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -98,7 +98,7 @@ sub get_namespaced_factoid { return $body if $channel eq '*irc_msg' or $channel eq '##NULL'; - if ($body =~ /^(?:\s*(?$commands_re)\s+)?(?.*)$/) { + if ($body =~ /^(?:\s*(?$commands_re|macro)\s+)?(?.*)$/) { #my ($command, $body); ($command, $body) = @+{qw/command body/}; }