I've just noticed what could a bug in the flat protocol for the friendof mode; when I do a friendof part of the output looks like:
friendof_81_fg #000000 friendof_81_name friendof_81_user mzdt
Note that friendof_81_user immediately follows the friendof_81_name; from my reading of the protocol docs this shouldn't happen as even if the value of friendof_81_name is null, there should still at least be a newline to show this.
This is causing one or two problems for LJ::Simple as it relies on the data returned from the LJ servers being:
key1 value1 key2 value2
As specified in the Introduction to the Protocol document.