Core/actions: Make privmsg() work with target=None.

Signed-off-by: Martin Stone <martin@d7415.co.uk>