From 7e1335af465b38ea4190b3f1c3de4e4718448f6e Mon Sep 17 00:00:00 2001 From: timriker Date: Fri, 6 Jan 2006 08:28:35 +0000 Subject: [PATCH] show last item too git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1249 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/UserDCC.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/blootbot/src/Modules/UserDCC.pl b/blootbot/src/Modules/UserDCC.pl index 0a3bbfd..a534fba 100644 --- a/blootbot/src/Modules/UserDCC.pl +++ b/blootbot/src/Modules/UserDCC.pl @@ -633,7 +633,10 @@ sub userDCC { $str = $newstr; push(@items, "$_ => $chanconf{$chan}{$_}"); } - &performStrictReply(" $str") if (@items); + if (@items) { + my $str = join(', ', @items); + &performStrictReply(" $str"); + } } return; } -- 2.39.2