Răsfoiți Sursa

Fixed modpol.dashboard call for listing orgs to new nomenclature

Nathan Schneider 3 ani în urmă
părinte
comite
10810eeaa7
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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