Fix mass-mail task hook.

Whoops! https://github.com/mybb/mybb/issues/555