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

Extraneous "and" in interactive-edit "replace" command caused chaining to fail -- fixed

This commit is contained in:
Pragmatic Software 2010-05-23 01:20:57 +00:00
parent 71c89cb112
commit a3ae35453d

View File

@ -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;