Package: plum
Version: 2.33.1-9

I've noticed that plum modifies line that contains only "0" to empty line.
For example, I say "0" in channel like this (2nd line),

 >ukai< GS> 0 pstack
 >ukai< 0
 >ukai< GS<1>

then, others will see like this

 <ukai> GS> 0 pstack
 <ukai>
 <ukai> GS<1>

so 2nd line (only "0") becomes empty line.

I suspect this is because of something perl's confusing feature.
In /usr/bin/plum around line 253, we can see

  $wbuf{$serverno, $cmd} = $rest || '';

if $rest = "0", $wbuf{$serverno, $cmd} will be '' not "0", because
"0" is interpreted as false for || operator!
I found this one but there may be more....

Regards,
Fumitoshi UKAI


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to