Manual:$wgRC2UDPOmitBots

Details
Use   instead.

This setting allows bot edits to be omitted from UDP output (tends to flood IRC).

False by default.