On Thu Nov 11 03:25:20 2010, MSCHILLI wrote:
Show quoted text> by the way, the documentation doesn't say it's
> the 2nd parameter to the callback
The documentation does say that it's a method, which indicates that the
first parameter is the invocant, but the heading says "said($args)"
which might be interpreted as a function. I'll make the docs clearer.
Show quoted text> Not sure why I didn't see it before, but now I get
>
> Can't PRIVMSG without target and body
> called from Bot::BasicBot line 1232
> who = '#ymtest'
> body = ''
>
> when I return "" (empty string) from the callback. Going back to 0.82,
> the warning goes away.
I'll add a case to ignore the return value if it has no length (it was
ignoring all false values in 0.82, of course).