diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-18 22:51:44 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:55 +0000 |
commit | d1d5e8faf358302d490abe17f369c0366d5e29b2 (patch) | |
tree | 2f77b0f8d553a687beb3165c969abe60a223bb65 /src/game/g_main.c | |
parent | c4c6f67a49e33d14e24d56d0082f153797cd30f8 (diff) |
* (bug 4310) Rework admin.log
- Remove admin.log and fold its information into games.log because its information is rarely useful without the context that games.log brings
- Don't show guid/flags in AdminCmd: log items. Show registered name instead.
- Add an AdminAuth: log item that contains this info, occurring at connect, setlevel, and readconfig
- Always attach an admin's registered name to bans so the correct people are complained about rather than aliases
- General g_admin.c shrinking and refactoring
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 01df75d6..4cfd9346 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -129,7 +129,6 @@ vmCvar_t g_layoutAuto; vmCvar_t g_emoticonsAllowedInNames; vmCvar_t g_admin; -vmCvar_t g_adminLog; vmCvar_t g_adminParseSay; vmCvar_t g_adminTempBan; vmCvar_t g_adminMaxBan; @@ -257,7 +256,6 @@ static cvarTable_t gameCvarTable[ ] = { &g_emoticonsAllowedInNames, "g_emoticonsAllowedInNames", "1", CVAR_LATCH|CVAR_ARCHIVE, 0, qfalse }, { &g_admin, "g_admin", "admin.dat", CVAR_ARCHIVE, 0, qfalse }, - { &g_adminLog, "g_adminLog", "admin.log", CVAR_ARCHIVE, 0, qfalse }, { &g_adminParseSay, "g_adminParseSay", "1", CVAR_ARCHIVE, 0, qfalse }, { &g_adminTempBan, "g_adminTempBan", "2m", CVAR_ARCHIVE, 0, qfalse }, { &g_adminMaxBan, "g_adminMaxBan", "2w", CVAR_ARCHIVE, 0, qfalse }, |