mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-27 21:22:36 +01:00
FactoidCommands: factchange closing delimiter now optional
This commit is contained in:
parent
6b0d2d0835
commit
8480d3ce61
@ -1496,6 +1496,10 @@ sub factchange {
|
||||
$tochange = $1;
|
||||
$changeto = $2;
|
||||
$modifier = $3;
|
||||
} elsif ($sub =~ /^s$delim(.*?)$delim(.*)$/) {
|
||||
$tochange = $1;
|
||||
$changeto = $2;
|
||||
$modifier = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user