It works because every user can choose their own moderators: You choose on your own whom to trust to filter out the disruptive stuff.
And it’s optimized so you have much less work for that than on the clearnet. On Freenet Spam- and Disruption-prevention actually scales better than spamming.