diff --git a/src/game/src/main.cpp b/src/game/src/main.cpp index 3215d3f..92ba44e 100644 --- a/src/game/src/main.cpp +++ b/src/game/src/main.cpp @@ -676,6 +676,19 @@ int start(int argc, char **argv) { SPDLOG_INFO("MasterAuth {}", (int) LC_GetLocalType()); } + } + /* game server to spam server */ + else + { + extern unsigned int g_uiSpamBlockDuration; + extern unsigned int g_uiSpamBlockScore; + extern unsigned int g_uiSpamReloadCycle; + + SPDLOG_INFO("SPAM_CONFIG: duration {} score {} reload cycle {}", + g_uiSpamBlockDuration, g_uiSpamBlockScore, g_uiSpamReloadCycle); + + extern void LoadSpamDB(); + LoadSpamDB(); } signal_timer_enable(30);