mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 03:53:13 +02:00
- internal: Modified TKL system (getting ready for anti-spam system):
Instead of 1 big list of *lines, it's now an array to easily distinct between types. Also made tk->usermask static (USERLEN+2) instead of dynamic. These changes should give enough speed improvement to make the new anti-spam/anti-ads feature fast enough.
This commit is contained in:
@@ -156,6 +156,7 @@ void server_reboot(char *);
|
||||
void restart(char *);
|
||||
static void open_debugfile(), setup_signals();
|
||||
extern void init_glines(void);
|
||||
extern void tkl_init(void);
|
||||
|
||||
TS last_garbage_collect = 0;
|
||||
char **myargv;
|
||||
@@ -858,6 +859,7 @@ int InitwIRCD(int argc, char *argv[])
|
||||
#ifdef USE_LIBCURL
|
||||
url_init();
|
||||
#endif
|
||||
tkl_init();
|
||||
umode_init();
|
||||
#ifdef EXTCMODE
|
||||
extcmode_init();
|
||||
|
||||
Reference in New Issue
Block a user