~edwargix/tallyard

0eb2ee95f3d8e147078e87c210064ac1339a8867 — David Florness 5 years ago 9c7cc41
Keep track of peers' usernames

This will be used to kick people
1 files changed, 2 insertions(+), 1 deletions(-)

M bulletin.rkt
M bulletin.rkt => bulletin.rkt +2 -1
@@ 72,7 72,8 @@
          (if (auth username password)
              (begin
                (displayln (format "~a is voting! (~a)" username input))
                (set-add! _peers (hasheq 'input input))
                (set-add! _peers (hasheq 'input input
                                         'username username))
                (response/jsexpr empty))
              (response/jsexpr
               "Bad Login"