summaryrefslogtreecommitdiff
path: root/xdcc.pl
diff options
context:
space:
mode:
authorJules <jules@asdf.us>2015-01-20 16:58:11 -0500
committerJules <jules@asdf.us>2015-01-20 16:58:11 -0500
commitb21b12de15bdcba857e2d5e078e6d70a9988b52e (patch)
treecddbf68ba26862976b7a7eab3c6b31df336214b7 /xdcc.pl
parent63bb3591a247f165f2942993fd3c43f56bfe6f07 (diff)
str
Diffstat (limited to 'xdcc.pl')
-rw-r--r--xdcc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/xdcc.pl b/xdcc.pl
index f1eb47c..4f19fce 100644
--- a/xdcc.pl
+++ b/xdcc.pl
@@ -276,8 +276,8 @@ sub xdcc_delete {
$id -= 1;
if (xdcc_is_trusted($server, $nick)) {
my $file = xdcc_del($index);
- if ($file ) {
- xdcc_message( $server, $nick, 'xdcc_deleted', $file->{id}+1, $file->{fn} );
+ if ($file) {
+ xdcc_message( $server, $nick, 'xdcc_deleted_file', $file->{id}+1, $file->{fn} );
}
}
}