1
0
forked from metin2/server

revert removal of spam db

This commit is contained in:
Tr0n 2024-04-09 17:21:46 +02:00
parent 62f3635b86
commit 0072bc5e14
No known key found for this signature in database

View File

@ -676,6 +676,19 @@ int start(int argc, char **argv)
{ {
SPDLOG_INFO("MasterAuth {}", (int) LC_GetLocalType()); 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); signal_timer_enable(30);