<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,8 +11,8 @@ $Data::Dumper::Indent = 1;
 
 use vars qw($VERSION %IRSSI);
 
-$VERSION = &quot;2.0.5&quot;;
-my ($REV) = '$Rev: 481 $' =~ /(\d+)/;
+$VERSION = &quot;2.0.6&quot;;
+my ($REV) = '$Rev: 483 $' =~ /(\d+)/;
 %IRSSI = (
     authors     =&gt; 'Dan Boger',
     contact     =&gt; 'zigdon@gmail.com',
@@ -21,7 +21,7 @@ my ($REV) = '$Rev: 481 $' =~ /(\d+)/;
       . 'Can optionally set your bitlbee /away message to same',
     license =&gt; 'GNU GPL v2',
     url     =&gt; 'http://twirssi.com',
-    changed =&gt; '$Date: 2009-02-19 14:22:45 -0800 (Thu, 19 Feb 2009) $',
+    changed =&gt; '$Date: 2009-02-20 14:37:28 -0800 (Fri, 20 Feb 2009) $',
 );
 
 my $window;
@@ -234,12 +234,14 @@ sub cmd_reply_as {
         $data = &quot;\@$nick &quot; . $data;
     }
 
-    if ( Irssi::settings_get_str(&quot;short_url_provider&quot;) ) {
-        foreach my $url ( $data =~ /(https?:\/\/\S+[\w\/])/g ) {
-            eval {
-                my $short = makeashorterlink($url);
-                $data =~ s/\Q$url/$short/g;
-            };
+    if ( &amp;too_long( $data, 1 ) ) {
+        if ( Irssi::settings_get_str(&quot;short_url_provider&quot;) ) {
+            foreach my $url ( $data =~ /(https?:\/\/\S+[\w\/])/g ) {
+                eval {
+                    my $short = makeashorterlink($url);
+                    $data =~ s/\Q$url/$short/g;
+                };
+            }
         }
     }
 
@@ -501,13 +503,6 @@ sub cmd_upgrade {
         return;
     }
 
-    if ( not -x &quot;/usr/bin/md5sum&quot; and not $data ) {
-        &amp;notice(
-&quot;/usr/bin/md5sum can't be found - try '/twirssi_upgrade nomd5' to skip MD5 verification&quot;
-        );
-        return;
-    }
-
     my $md5;
     unless ($data) {
         eval { use Digest::MD5; };</diff>
      <filename>twirssi.pl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6e2d1f7b739136086662bb4b4fb1a6c5d75d2b8a</id>
    </parent>
  </parents>
  <author>
    <name>Dan Boger</name>
    <login></login>
    <email>zigdon@irc.peeron.com</email>
  </author>
  <url>http://github.com/bssteph/twirssi/commit/fabe4d576cf8b552863a1785426d90f978c133fb</url>
  <id>fabe4d576cf8b552863a1785426d90f978c133fb</id>
  <committed-date>2009-02-20T14:38:15-08:00</committed-date>
  <authored-date>2009-02-20T14:38:15-08:00</authored-date>
  <message>r483 - Remove block checking for /usr/bin/md5sum, as we never did use it.  Only shorten links in replies when we need to</message>
  <tree>056d1e4b2886f1ab7e489a889c07e75e593f3deb</tree>
  <committer>
    <name>Dan Boger</name>
    <login></login>
    <email>zigdon@irc.peeron.com</email>
  </committer>
</commit>
