From: Dan Boger Date: Mon, 1 Feb 2010 23:23:05 +0000 (-0800) Subject: Use Irssi::get_irssi_dir instead of $ENV{HOME} X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/fba0149c813536b122cefc924a4694d615fe1891?ds=inline;hp=-c Use Irssi::get_irssi_dir instead of $ENV{HOME} --- fba0149c813536b122cefc924a4694d615fe1891 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 );