def register(self, client):
    self.clients.append({'client-peer': client.peer, 'client': client})
    self.router.register(client.peer, 'telnet')
def register(self, client):
    self.clients.append({'client-peer': client.peer, 'client': client})
    self.router.register(client.peer, 'telnet')