@Panther and Pkekyo:
If you want to filter something out, check the filters module. ;) I don't actually use that module myself, so it may be called something different, but I believe that's what was mentioned in other places.
The Filtering module filters out Channel Leave/Join messages and Channel Notices, e.g. moderator changes.
Enabling the Filtering module did nothing to the BG spam