Allow use of arguments with lports()
authorAri Johnson <ari@theari.com>
Wed, 16 Dec 2015 19:17:43 +0000 (14:17 -0500)
committerAri Johnson <ari@theari.com>
Wed, 16 Dec 2015 19:17:43 +0000 (14:17 -0500)
src/function.c

index 92b9b96cf928a8d0bb7f51aa801d6aca8fb63e71..e5db4edd9b08e9f01a83d4a7d2e9b62b03fccb81 100644 (file)
@@ -461,7 +461,7 @@ FUNTAB flist[] = {
   {"LOCK", fun_lock, 1, 2, FN_REG},
   {"LPARENT", fun_lparent, 1, 1, FN_REG},
   {"LPLAYERS", fun_dbwalker, 1, 1, FN_REG},
-  {"LPORTS", fun_lports, 0, 0, FN_REG},
+  {"LPORTS", fun_lports, 0, 2, FN_REG},
   {"LPOS", fun_lpos, 2, 2, FN_REG},
   {"LTHINGS", fun_dbwalker, 1, 1, FN_REG},
   {"LSEARCH", fun_lsearch, 1, INT_MAX, FN_REG},