forked from metin2/server
revert removal of spam db
This commit is contained in:
parent
62f3635b86
commit
0072bc5e14
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue