Renamed /twitter_friend to /twitter_follow (and likewise for unfriend)
authorMark Walling <mark@markwalling.org>
Mon, 29 Jun 2009 18:59:31 +0000 (02:59 +0800)
committerDan Boger <dan@peeron.com>
Mon, 29 Jun 2009 21:34:26 +0000 (05:34 +0800)
Signed-off-by: Dan Boger <dan@peeron.com>
twirssi.pl

index 77534097c3c5052f991e0f729c528012e72b87f2..9ef3dbf9f9df21018890c30e6051e82d0ce2f118 100644 (file)
@@ -527,7 +527,7 @@ sub cmd_login {
                 &notice("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 <username>",
+            "/twitter_follow <username>",
             "create_friend",
             sub { &notice("Following $_[0]"); $nicks{ $_[0] } = time; }
         )
     );
     Irssi::command_bind(
-        "twitter_unfriend",
+        "twitter_unfollow",
         &gen_cmd(
             "/twitter_unfriend <username>",
-            "destroy_friend",
+            "destroy_follow",
             sub { &notice("Stopped following $_[0]"); delete $nicks{ $_[0] }; }
         )
     );