fix type attribute for limechat >= 2.39