mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Fixed nmap library which was returning it's first argument
instead of the library table.
This commit is contained in:
parent
aef79acb23
commit
49a919f401
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue