From: Mark Walling Date: Mon, 29 Jun 2009 18:59:31 +0000 (+0800) Subject: Renamed /twitter_friend to /twitter_follow (and likewise for unfriend) X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/ad27388bac4f1d4655e837a19b42b0b7f55ba311?ds=sidebyside;hp=-c Renamed /twitter_friend to /twitter_follow (and likewise for unfriend) Signed-off-by: Dan Boger --- ad27388bac4f1d4655e837a19b42b0b7f55ba311 diff --git a/twirssi.pl b/twirssi.pl index 7753409..9ef3dbf 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -527,7 +527,7 @@ sub cmd_login { ¬ice("Welcome to twirssi!" . " Perhaps you should add \@twirssi to your friends list," . " so you can be notified when a new version is release?" - . " Just type /twitter_friend twirssi." ); + . " Just type /twitter_follow twirssi." ); } } %nicks = %friends; @@ -1565,18 +1565,18 @@ if ($window) { } ); Irssi::command_bind( - "twitter_friend", + "twitter_follow", &gen_cmd( - "/twitter_friend ", + "/twitter_follow ", "create_friend", sub { ¬ice("Following $_[0]"); $nicks{ $_[0] } = time; } ) ); Irssi::command_bind( - "twitter_unfriend", + "twitter_unfollow", &gen_cmd( "/twitter_unfriend ", - "destroy_friend", + "destroy_follow", sub { ¬ice("Stopped following $_[0]"); delete $nicks{ $_[0] }; } ) );