瀏覽代碼

Fixed modpol.dashboard call for listing orgs to new nomenclature

Nathan Schneider 3 年之前
父節點
當前提交
10810eeaa7
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      modpol/interactions/interactions.lua

+ 2 - 1
modpol/interactions/interactions.lua

@@ -12,8 +12,9 @@
 modpol.dashboard = function(user)
    local output = ""
    -- Org status
-   output = output .. "Orgs:\n" .. modpol.orgs.list_orgs()
+   output = output .. "Orgs:\n" .. modpol.orgs.list_all()
    -- Process status (ongoing processes)
+   output = output .. "Processes:\n" .. table.concat(modpol.processes)
    -- Command list (should be redone to be org-specific)
    output = output .. "Command list:\n"
    for key,value in pairs(modpol) do