1
0
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:
Bram Matthys
2004-01-01 22:53:50 +00:00
parent 081056522e
commit 56cb95f189
4 changed files with 145 additions and 73 deletions
+2
View File
@@ -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();