mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-08 19:12:33 +01:00
Extraneous "and" in interactive-edit "replace" command caused chaining to fail -- fixed
This commit is contained in:
parent
71c89cb112
commit
a3ae35453d
@ -157,7 +157,7 @@ while(1) {
|
||||
$text = $e;
|
||||
$text =~ s/^'//;
|
||||
$text =~ s/'$//;
|
||||
$subcode = "replace $modifier '$text' with '' and $r";
|
||||
$subcode = "replace $modifier '$text' with ''$r";
|
||||
} else {
|
||||
print "$nick: Unbalanced single quotes. Usage: !cc remove [all, first, .., tenth, last] 'text' [and ...]\n";
|
||||
exit 0;
|
||||
|
Loading…
Reference in New Issue
Block a user