Skip to content

Conversation

@creagraphy
Copy link
Contributor

Fix for a small compatibility problem with the autoload plugin of Daniel Ennis (https://github.com/aikar/autoloader)

In lib/packets/execute.js at line 33, the code:

    if (toString.call(this.parameters[i]) == '[object Date]') {

confuses autoloader, because the context is missing.

I changed it to:

     if (Object.prototype.toString.call(this.parameters[i]) == '[object Date]') {

sidorares added a commit that referenced this pull request May 29, 2014
Solve incompatibility with autoload
@sidorares sidorares merged commit 7bacacf into sidorares:master May 29, 2014
@sidorares
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants