]> git.sommitrealweird.co.uk Git - twirssi-net-twitter-lite.git/commitdiff
When sending DMs, echo them to the screen too.
authorDan Boger <zigdon@irc.peeron.com>
Fri, 9 Oct 2009 17:16:44 +0000 (10:16 -0700)
committerDan Boger <zigdon@irc.peeron.com>
Fri, 9 Oct 2009 17:16:44 +0000 (10:16 -0700)
twirssi.pl

index 8f1801f0a4e8d0a3919ea83bb806399f85735a4e..15b64780fcd97816932f48550cab261f99a04cbe 100644 (file)
@@ -91,7 +91,7 @@ sub cmd_direct_as {
         if ( $twits{$username}
             ->new_direct_message( { user => $target, text => $text } ) )
         {
         if ( $twits{$username}
             ->new_direct_message( { user => $target, text => $text } ) )
         {
-            &notice("DM sent to $target");
+            &notice("DM sent to $target: $text");
             $nicks{$target} = time;
         } else {
             my $error;
             $nicks{$target} = time;
         } else {
             my $error;