def undo(self, irc, msg, args, channel):
        self._checkManageCapabilities(irc, msg, channel)
        self._addRedo(channel, self._getUndo(channel))  # current topic.
        topics = self._getUndo(channel)  # This is the topic list we want.
        if topics is not None:
            self._sendTopics(irc, channel, topics, isDo=True)
        else:
            irc.error(format(_('There are no more undos for %s.'), channel))
[<channel>]
dataset/ETHPy150Open ProgVal/Limnoria/plugins/Topic/plugin.py/Topic.undo