Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exports.func = function (args) {
var jar = args.jar
if (settings.session_only) {
jar.session = ''
} else {
var cookies = jar._jar.store.idx['roblox.com']
if (cookies) {
var cookie = cookies['/']
if (cookie && cookie['.ROBLOSECURITY']) {
delete cookies['/']['.ROBLOSECURITY']
}
}
}
}