From ad88d63a585d6a206e651a9ea324d8610db7231d 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/blootbot@1249 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/UserDCC.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl index 0a3bbfd..a534fba 100644 --- a/src/Modules/UserDCC.pl +++ b/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.5