rcirc-buffer-maximum-lines

rcirc-buffer-maximum-lines is a variable defined in `rcirc.el'.
Its value is
nil


Documentation:
The maximum size in lines for rcirc buffers.
Channel buffers are truncated from the top to be no greater than this
number. If zero or nil, no truncating is done.

You can customize this variable.