Correct /regen chat command privs format, fixes warnings of undeclared variables