summaryrefslogtreecommitdiff
path: root/xdcc.pl
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2015-01-21 01:00:50 -0500
committerJulie Lala <jules@okfoc.us>2015-01-21 01:00:50 -0500
commitc92bee4884566f11ecc540d86e8f205bd21fa5b7 (patch)
tree33ed91822163dd3af9f4b5f7ca689a69b7776a5c /xdcc.pl
parentc43f7b930ff42be266c41a5079dff6df0c6aff40 (diff)
show nick in info
Diffstat (limited to 'xdcc.pl')
-rw-r--r--xdcc.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/xdcc.pl b/xdcc.pl
index 718d21e..0f4704d 100644
--- a/xdcc.pl
+++ b/xdcc.pl
@@ -297,6 +297,7 @@ sub xdcc_info_remote {
if (! $info) { return; }
xdcc_message( $server, $nick, 'xdcc_stats', ' #', $info->{id} );
xdcc_message( $server, $nick, 'xdcc_stats', 'name', $info->{name} );
+ xdcc_message( $server, $nick, 'xdcc_stats', 'nick', $info->{nick} );
xdcc_message( $server, $nick, 'xdcc_stats', 'date', $info->{date} );
xdcc_message( $server, $nick, 'xdcc_stats', 'size', $info->{size} );
xdcc_message( $server, $nick, 'xdcc_stats', 'desc', $info->{desc} );
@@ -307,6 +308,7 @@ sub xdcc_info {
if (! $info) { return; }
Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_stats', ' #', $info->{id} );
Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_stats', 'name', $info->{name} );
+ Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_stats', 'nick', $info->{nick} );
Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_stats', 'date', $info->{date} );
Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_stats', 'size', $info->{size} );
Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_stats', 'desc', $info->{desc} );