def unbans(channel, hostmasks, prefix='', msg=None):
    if conf.supybot.protocols.irc.strictRfc():
        assert isChannel(channel), repr(channel)
        assert all(isUserHostmask, hostmasks), hostmasks
    modes = [('-b', s) for s in hostmasks]
    if msg and not prefix:
        prefix = msg.prefix
    return IrcMsg(prefix=prefix, command='MODE',
                  args=[channel] + ircutils.joinModes(modes), msg=msg)
Returns a MODE to unban each of nicks on channel.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircmsgs.py/unbans