diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:21 +0200 |
commit | ef3cc5396fbcf193ddd1e3b6b5978bdda4bdbe55 (patch) | |
tree | 38b215c1adbe61503456a25b63f8fab10ab703e1 /src/game/g_local.h | |
parent | 90094e0e71e05b155a6a1edb1835607e1202a8bc (diff) |
implement logging control for PMs
configurable via the new g_logPrivateMessages cvar:
0: do not log anything
1: log that a PM was sent, and to what name-pattern
2: log the contents of the PMs too
a PM to the console is not considered a real PM.
(logging is parallel with printing to the console.)
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index bd337da..d51cf1b 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1475,6 +1475,7 @@ extern vmCvar_t g_killerHP; extern vmCvar_t g_maxGhosts; extern vmCvar_t g_privateMessages; +extern vmCvar_t g_logPrivateMessages; extern vmCvar_t g_decolourLogfiles; extern vmCvar_t g_publicSayadmins; extern vmCvar_t g_myStats; |