summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2007-01-16 04:03:06 +0000
committerPaul W. Frields <stickster@gmail.com>2007-01-16 04:03:06 +0000
commiteda633cb6986b8a12c701320a32b225bec81a376 (patch)
treeaf1821781f589b5c85656b1e86714f6fdf844bef
parentede1d55ccd17731ad5835ea89f3d97763f855a69 (diff)
downloadirssi-notify-eda633cb6986b8a12c701320a32b225bec81a376.tar.gz
irssi-notify-eda633cb6986b8a12c701320a32b225bec81a376.tar.xz
irssi-notify-eda633cb6986b8a12c701320a32b225bec81a376.zip
Use nick instead of address in dcc request notification
git-svn-id: https://irssi-libnotify.googlecode.com/svn/trunk@15 291cbfae-0d27-0410-99d7-557b17e6fe3d
-rw-r--r--notify.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.pl b/notify.pl
index cceb193..67a0b33 100644
--- a/notify.pl
+++ b/notify.pl
@@ -60,7 +60,7 @@ sub dcc_request_notify {
my $server = $dcc->{server};
return if (!$dcc);
- notify($server, "DCC ".$dcc->{type}." request", $sendaddr);
+ notify($server, "DCC ".$dcc->{type}." request", $dcc->{nick});
}
Irssi::signal_add('print text', 'print_text_notify');