forked from metin2/server
1
0
Fork 0

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
1 changed files with 13 additions and 0 deletions

View File

@ -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);