From fba0149c813536b122cefc924a4694d615fe1891 Mon Sep 17 00:00:00 2001 From: Dan Boger Date: Mon, 1 Feb 2010 15:23:05 -0800 Subject: [PATCH] Use Irssi::get_irssi_dir instead of $ENV{HOME} --- twirssi.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/twirssi.pl b/twirssi.pl index 64c344f..e4822c0 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -1846,11 +1846,11 @@ Irssi::settings_add_str( "twirssi", "twirssi_topic_color", "%r" ); Irssi::settings_add_str( "twirssi", "twirssi_retweet_format", 'RT $n: "$t" ${-- $c$}' ); Irssi::settings_add_str( "twirssi", "twirssi_location", - "$ENV{HOME}/.irssi/scripts/twirssi.pl" ); + Irssi::get_irssi_dir . "/.irssi/scripts/twirssi.pl" ); Irssi::settings_add_str( "twirssi", "twirssi_replies_store", - "$ENV{HOME}/.irssi/scripts/twirssi.json" ); + Irssi::get_irssi_dir . "/.irssi/scripts/twirssi.json" ); Irssi::settings_add_str( "twirssi", "twirssi_oauth_store", - "$ENV{HOME}/.irssi/scripts/twirssi.oauth" ); + Irssi::get_irssi_dir . "/.irssi/scripts/twirssi.oauth" ); Irssi::settings_add_int( "twirssi", "twitter_friends_poll", 600 ); Irssi::settings_add_int( "twirssi", "twitter_timeout", 30 ); -- 2.39.5