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 876d08aa41605e996a5da83e51bd2125520eaf90..e4cb9979eda63af03bd85e1b609afaa4efc359cb 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;
   }