summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-09-20 20:46:12 -0400
committerjoe <joe@jerkface.net>2017-09-20 20:46:12 -0400
commit447e9e53661edd7c633f757eb3403298849e4c35 (patch)
tree0900fe9c6a1999ed27da23f564c15d9568befc1a
parente8630e82fb157ef718293ad9fb08eeb50eef29fd (diff)
Renamed "keys" command to "toxids".
-rw-r--r--examples/dhtd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 32fb8060..0b208362 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -458,7 +458,7 @@ clientSession s@Session{..} sock cnum h = do
458 ps <- atomically $ Peers.lookup ih <$> readTVar (Mainline.contactInfo swarms) 458 ps <- atomically $ Peers.lookup ih <$> readTVar (Mainline.contactInfo swarms)
459 hPutClient h $ showReport $ map (((,) "") . show . pPrint) ps 459 hPutClient h $ showReport $ map (((,) "") . show . pPrint) ps
460 Left er -> hPutClient h er 460 Left er -> hPutClient h er
461 ("keys", s) -> cmd0 $ do 461 ("toxids", s) -> cmd0 $ do
462 keydb <- atomically $ readTVar toxkeys 462 keydb <- atomically $ readTVar toxkeys
463 now <- getPOSIXTime 463 now <- getPOSIXTime
464 let entries = map mkentry $ PSQ.toList (Tox.keyByAge keydb) 464 let entries = map mkentry $ PSQ.toList (Tox.keyByAge keydb)