From 8480d3ce61b0bf9a80e19a7cdcb4e9f8ce6a46fe Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 9 Jun 2019 15:36:48 -0700 Subject: [PATCH] FactoidCommands: factchange closing delimiter now optional --- PBot/FactoidCommands.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 5616dce8..37c0df0c 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -1496,6 +1496,10 @@ sub factchange { $tochange = $1; $changeto = $2; $modifier = $3; + } elsif ($sub =~ /^s$delim(.*?)$delim(.*)$/) { + $tochange = $1; + $changeto = $2; + $modifier = ''; } }