Fixed a bug with rc file name and location.

This commit is contained in:
Storm Dragon
2025-07-26 10:58:49 -04:00
parent 35fd332aab
commit 3a394e0a4d
+1 -1
View File
@@ -126,7 +126,7 @@ BEGIN {
$rc = (defined($rc) && length($rc)) ? $rc : "";
unless ($norc) {
my $rcf =
($rc =~ m#^/#) ? $rc : "$ENV{'HOME'}/.ttytterrc${rc}";
($rc =~ m#^/#) ? $rc : "$config/ttyverserc${rc}";
if (open(W, $rcf)) {
# 5.14 sets this lazily, so this gives us a way out
eval 'binmode(W, ":utf8")' unless ($seven);