erc-ports-list

erc-ports-list is a compiled Lisp function in `erc-networks.el'.

(erc-ports-list PORTS)

Return a list of PORTS.

PORTS should be a list of either:
A number, in which case it is returned a list.
Or a pair of the form (LOW HIGH), in which case, a list of all the
numbers between LOW and HIGH (inclusive) is returned.

As an example:
(erc-ports-list '(1)) => (1)
(erc-ports-list '((1 5))) => (1 2 3 4 5)
(erc-ports-list '(1 (3 5))) => (1 3 4 5)