summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/List.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/List.hs b/Command/List.hs
index 786db7b79..2676b5d5d 100644
--- a/Command/List.hs
+++ b/Command/List.hs
@@ -56,7 +56,8 @@ getList o
ts <- mapM (lookupTrust . uuid) rs
hereu <- getUUID
heretrust <- lookupTrust hereu
- return $ (hereu, "here", heretrust) : zip3 (map uuid rs) (map name rs) ts
+ let l = (hereu, "here", heretrust) : zip3 (map uuid rs) (map name rs) ts
+ return $ filter (\(_, _, t) -> t /= DeadTrusted) l
getAllUUIDs = do
rs <- M.toList <$> uuidMap
rs3 <- forM rs $ \(u, n) -> (,,)