mirror of
https://github.com/nmap/nmap.git
synced 2026-06-11 10:36:07 +00:00
Removed some unnecessary code.
This commit is contained in:
parent
17020acc26
commit
0e984d85b7
1 changed files with 1 additions and 2 deletions
|
|
@ -353,8 +353,7 @@ int init_parseargs (lua_State *L)
|
|||
size_t len;
|
||||
|
||||
luaL_checkstring(L, 1);
|
||||
luaL_getmetafield(L, 1, "__index"); // string library
|
||||
lua_getfield(L, -1, "gsub"); // string.gsub
|
||||
lua_getfield(L, 1, "gsub"); // string.gsub
|
||||
lua_pushvalue(L, 1);
|
||||
lua_pushliteral(L, "=([^{},]+)"); // make strings quoted
|
||||
lua_pushliteral(L, "=\"%1\"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue