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
1 changed files with 1 additions and 1 deletions

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;