Added WriteStream parameter to irc.sent callback