erc-make-read-only

erc-make-read-only is a compiled Lisp function in `erc-goodies.el'.

(erc-make-read-only)

Make all the text in the current buffer read-only.
Put this function on `erc-insert-post-hook' and/or `erc-send-post-hook'.