'Disable the given modes.
@see: L{setPrivateModes}
@see: L{insults.ITerminalTransport.resetPrivateModes}'

def resetPrivateModes(self, modes):

    for m in modes:
        try:
            del self.privateModes[m]
        except KeyError:
            pass
