Small optimization

Closes #1268
Merge branch 'master' of github.com:WoltLab/WCF