From: timriker Date: Fri, 6 Jan 2006 08:28:35 +0000 (+0000) Subject: show last item too X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7e1335af465b38ea4190b3f1c3de4e4718448f6e;p=infobot.git show last item too git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1249 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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; }