From: timriker Date: Thu, 24 Feb 2005 22:31:11 +0000 (+0000) Subject: no leading space X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6b789b2816d482667a2be4c07beb75b53df0a05f;p=infobot.git no leading space git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1176 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/piglatin.pl b/blootbot/src/Modules/piglatin.pl index 27830e0..07d17b8 100644 --- a/blootbot/src/Modules/piglatin.pl +++ b/blootbot/src/Modules/piglatin.pl @@ -29,7 +29,8 @@ sub piglatin } else { $pigword = $word . 'w' . $suffix; } - $piglatin .= " $pigword"; + $piglatin .= ' ' if $piglatin; + $piglatin .= $pigword; } &::performStrictReply($piglatin||'failed'); }