added ability to target log messages, demonstrated by sending snotices to irc logchan.

Pull request so you dont have to merge it by hand :)