summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
author0gb.us <0gb.us@0gb.us>2013-03-30 01:51:41 -0700
committerkwolekr <kwolekr@minetest.net>2013-03-30 21:50:07 -0400
commit23590a8383f068509265d5724458c7966d71a0e3 (patch)
treeb2c477d524e368da56058eea953ba8d5fa8b4a25 /src/main.cpp
parent923a97b1089c117cb787a2f95a38097e8a31e4a8 (diff)
downloadminetest-23590a8383f068509265d5724458c7966d71a0e3.tar.gz
minetest-23590a8383f068509265d5724458c7966d71a0e3.tar.bz2
minetest-23590a8383f068509265d5724458c7966d71a0e3.zip
Don't grant priveleges to non-existent players.
When accidentally misspelling a name, privileges are sometimes granted to non-existent players, leaving them with the extra privileges, but without the default privileges, if they ever join the server. This corrects that by disallowing /grant from working with invalid players. For completeness, it does the same for /revoke.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions