summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2006-10-23 17:08:01 +0000
committerTony J. White <tjw@tjw.org>2006-10-23 17:08:01 +0000
commita6f9b56ecea9a30c2c58d08ae289bfdd3f157260 (patch)
treed141bb24a5e36952aff52c96a20037f715e4a54a /src/game/g_main.c
parentb8e65df66d31e31e1a2b6bd8530d9649cfcec840 (diff)
* (bug 2842) adds g_privateMessages (/m and /mt commands)
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index c10b547f..09afa5d2 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -121,6 +121,8 @@ vmCvar_t g_adminParseSay;
vmCvar_t g_adminNameProtect;
vmCvar_t g_adminTempBan;
+vmCvar_t g_privateMessages;
+
static cvarTable_t gameCvarTable[ ] =
{
// don't override the cheat state set by the system
@@ -226,6 +228,8 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_adminNameProtect, "g_adminNameProtect", "1", CVAR_ARCHIVE, 0, qfalse },
{ &g_adminTempBan, "g_adminTempBan", "120", CVAR_ARCHIVE, 0, qfalse },
+ { &g_privateMessages, "g_privateMessages", "1", CVAR_ARCHIVE, 0, qfalse },
+
{ &g_rankings, "g_rankings", "0", 0, 0, qfalse}
};