def _prune_penalty_box(self):
added = False<EOL>for client in self.penalty_box.get():<EOL><INDENT>log.info("<STR_LIT>", client)<EOL>self.active_clients.append(client)<EOL>added = True<EOL><DEDENT>if added:<EOL><INDENT>self._sort_clients()<EOL><DEDENT>
Restores clients that have reconnected.

        This function should be called first for every public method.