From fdac0b1044feb76ae6b266d5777c7c45cd935632 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 22 Jun 2011 18:07:02 +0200 Subject: [PATCH] fix concatenation --- brmd/brmd.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/brmd/brmd.pl b/brmd/brmd.pl index 096bf84..72a61aa 100755 --- a/brmd/brmd.pl +++ b/brmd/brmd.pl @@ -554,9 +554,9 @@ sub irc_public { if (!$pod->error) { foreach my $subpod (@{$pod->subpods}) { if ($subpod->plaintext) { - $answer += ($pod->title . ': ') if $pod->title; - $answer += ($subpod->title . ': ') if $subpod->title; - $answer += ($subpod->plaintext . "\n"); + $answer .= ($pod->title . ': ') if $pod->title; + $answer .= ($subpod->title . ': ') if $subpod->title; + $answer .= ($subpod->plaintext . "\n"); } } }