node: fix bad assert

It was my mistake to change an assert check. This changes it back to how
the assert was originally done.

Fixes: c131c1f "modules: adding load linked modules feature"
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
Trevor Norris committed 2014-12-03 17:19:07 -08:00
1 parent 4815873bb5
commit e67db0191d
1 file changed
+1 -1
+1 -1
View File
@@ -2062,7 +2062,7 @@ extern "C" void node_module_register(void* m) {
} else {
// Once node::Init was called we can only register dynamic modules.
// See DLOpen.
CHECK_NE(modpending, NULL);
assert(modpending == NULL);
modpending = mp;
}
}