Skip to content

fix .me accepting emtpy data #2

@harbingerofme

Description

@harbingerofme

Don't allow use of "" as field name, and delete fields that get assigned that value.
if (fileHandler.data[message.author.id][usage.parameters.field] != undefined) -> if (fileHandler.data[message.author.id].hasOwnProperty(usage.parameters.field)) {

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions