Commit 1d9b9ddd authored by Antoine Millet's avatar Antoine Millet
Browse files

[bug#3932] Fixed kill server method.

parent b3b30f7a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ class CCClient(object):
        return ':'.join(peer.split(':')[:-1])

    def shutdown(self):
        self.server.manager.shutdown_client(self.connection)
        self.server.manager.shutdown_client(self.connection.get_fd())

    def get_tags(self):
        '''
+0 −1
Original line number Diff line number Diff line
@@ -357,7 +357,6 @@ class CliHandler(OnlineCCHandler):
        errs = Reporter()
        with self._server.conf:
            for obj in objects:
                print obj
                if 'a' not in obj:
                    errs.error(obj['id'], 'not an account')
                    continue