Fixed nmap library which was returning it's first argument

instead of the library table.
This commit is contained in:
batrick 2008-06-22 18:38:53 +00:00
parent aef79acb23
commit 49a919f401

View file

@ -135,6 +135,7 @@ int luaopen_nmap (lua_State *L)
{NULL, NULL}
};
lua_settop(L, 0); // clear stack
luaL_register(L, "nmap", nmaplib);
lua_newtable(L);