Gets a CIDR range.

    Syntax: {command} <range>

def cmd(send, msg, args):
    """Gets a CIDR range.

    Syntax: {command} <range>

    """
    if not msg:
        send("Need a CIDR range.")
        return
    try:
        ipn = ip_network(msg)
    except ValueError:
        send("Not a valid CIDR range.")
        return
    send("%s - %s" % (ipn[0], ipn[-1]))