3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

FactoidCommands: factchange closing delimiter now optional

This commit is contained in:
Pragmatic Software 2019-06-09 15:36:48 -07:00
parent 6b0d2d0835
commit 8480d3ce61

View File

@ -1496,6 +1496,10 @@ sub factchange {
$tochange = $1;
$changeto = $2;
$modifier = $3;
} elsif ($sub =~ /^s$delim(.*?)$delim(.*)$/) {
$tochange = $1;
$changeto = $2;
$modifier = '';
}
}