mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Remove left-over capture group
This commit is contained in:
parent
40212c4b91
commit
fd36d91ac4
@ -513,7 +513,7 @@ sub expand_factoid_vars {
|
||||
$self->{pbot}->{logger}->log((" " x $offset) . "^\n");
|
||||
}
|
||||
|
||||
substr($action, $offset) =~ s/($a\$$v$modifier)/$mylist[$line]/;
|
||||
substr($action, $offset) =~ s/$a\$$v$modifier/$mylist[$line]/;
|
||||
$offset += $-[0] + length $mylist[$line];
|
||||
|
||||
if ($debug) {
|
||||
|
Loading…
Reference in New Issue
Block a user