cleanup SEND output
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 31 Aug 2010 09:47:31 +0000 (11:47 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 31 Aug 2010 09:47:31 +0000 (11:47 +0200)
scripts/mqr-xmpp-client.pl

index 0d98860..63ce4d1 100755 (executable)
@@ -67,7 +67,7 @@ MQR::Redis->redis->psubscribe( "SEND $jid *", sub {
        Encode::_utf8_on($body);
 
        my ( undef, $gw, $type, $user, $to ) = split(/\s/, $channel);
-       warn "# send ", dump( $jid, $type, $to, $user, $body );
+       warn "SEND $jid $type $to <$user> $body\n";
        $cl->send_message( "<$user> $body", $to => $jid, $type );
 });