[tor-commits] [tor/master] Extract nickname-checking functions from router.c