mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 12:29:27 +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");
|
$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];
|
$offset += $-[0] + length $mylist[$line];
|
||||||
|
|
||||||
if ($debug) {
|
if ($debug) {
|
||||||
|
Loading…
Reference in New Issue
Block a user