Fixed adminweapons not working as intended

When config.adminweapons was set to 0, which is defined as "admin only"
in the config addon, neither regular nor superadmins were able to spawn
weapons.

"-- adminweapons - Who can spawn weapons: 0: admins only, 1: supadmins
only, 2: no one"
Merge pull request #1025 from Gangleider/refactor

Fixed adminweapons not working as intended