[6982] Implemented gmlevel-based command security

This is just a simple check if target's gmlevel is lesser
than the caller's one. If it is, an error is returned.
Offline checks for some commands are included.

That in simple words means no further .goname to a gmlevel 3 player
from a gmlevel 2 or 1 account, so gmlevel 3 can work in peace.

Signed-off-by: freghar <compmancz@gmail.com>
This commit is contained in:
freghar 2008-12-09 15:04:56 +01:00
parent bc0a840e6a
commit 73ca2b7a54
8 changed files with 229 additions and 1 deletions

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6981"
#define REVISION_NR "6982"
#endif // __REVISION_NR_H__