From ad27388bac4f1d4655e837a19b42b0b7f55ba311 Mon Sep 17 00:00:00 2001 From: Mark Walling Date: Tue, 30 Jun 2009 02:59:31 +0800 Subject: [PATCH] Renamed /twitter_friend to /twitter_follow (and likewise for unfriend) Signed-off-by: Dan Boger --- twirssi.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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] }; } ) ); -- 2.30.2