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