From 15cd754da09d55a94f12ee17b39df3db7651c565 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 5 Apr 2008 07:34:06 +0000 Subject: motd tweaks --- src/game/client/gc_hooks.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/game/client/gc_hooks.cpp') diff --git a/src/game/client/gc_hooks.cpp b/src/game/client/gc_hooks.cpp index 4a0a0ecc..33b9ba91 100644 --- a/src/game/client/gc_hooks.cpp +++ b/src/game/client/gc_hooks.cpp @@ -542,10 +542,8 @@ extern "C" void modc_message(int msgtype) } } - dbg_msg("game", "MOTD: %s", server_motd); - - if(server_motd[0]) - server_motd_time = time_get()+time_freq()*10; + if(server_motd[0] && config.cl_motd_time) + server_motd_time = time_get()+time_freq()*config.cl_motd_time; else server_motd_time = 0; } -- cgit 1.4.1