Fix error in lports()
authorAri Johnson <ari@theari.com>
Wed, 16 Dec 2015 22:28:06 +0000 (17:28 -0500)
committerAri Johnson <ari@theari.com>
Wed, 16 Dec 2015 22:28:06 +0000 (17:28 -0500)
src/bsd.c

index 876d08a..e4cb997 100644 (file)
--- a/src/bsd.c
+++ b/src/bsd.c
@@ -4684,7 +4684,7 @@ FUNCTION(fun_lports)
       return;
     }
 
-    if (!Priv_Who(executor))
+    if (!Priv_Who(victim))
       powered = 0;
   }