Explorar o código

[contrib/lua] Authenticate memory usage request

Lars Gierth %!s(int64=10) %!d(string=hai) anos
pai
achega
93fc05f2ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      contrib/lua/cjdns/util.lua

+ 1 - 1
contrib/lua/cjdns/util.lua

@@ -26,7 +26,7 @@ function UtilFunctions:ping()
 end
 
 function UtilFunctions:memory()
-    local response, err = self.ai:call({q = "memory"})
+    local response, err = self.ai:auth({q = "memory"})
     if response and response.bytes then
         return response.bytes
     else