فهرست منبع

[contrib/lua] Authenticate memory usage request

Lars Gierth 10 سال پیش
والد
کامیت
93fc05f2ec
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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