Skip to content
Snippets Groups Projects
Commit 1cd09344 authored by mcmlxxix's avatar mcmlxxix
Browse files

fix derp

parent f090e736
Branches
Tags
No related merge requests found
...@@ -437,7 +437,7 @@ engine = new (function() { ...@@ -437,7 +437,7 @@ engine = new (function() {
var handled = false; var handled = false;
/* pass command to module method if it exists */ /* pass command to module method if it exists */
if(module.commands[packet.func.toUpperCase()]) if(module.commands && module.commands[packet.func.toUpperCase()])
handled = module.commands[packet.func.toUpperCase()](client,packet); handled = module.commands[packet.func.toUpperCase()](client,packet);
if(handled) if(handled)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment