mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 17:23:13 +02:00
The blacklist module is missing a call to blacklist_quit. Bug?
This commit is contained in:
@@ -96,6 +96,7 @@ void blacklist_free_conf(void);
|
||||
void delete_blacklist_block(Blacklist *e);
|
||||
void blacklist_md_free(ModData *md);
|
||||
int blacklist_handshake(aClient *cptr);
|
||||
int blacklist_quit(aClient *cptr, char *comment);
|
||||
int blacklist_preconnect(aClient *sptr);
|
||||
void blacklist_resolver_callback(void *arg, int status, int timeouts, struct hostent *he);
|
||||
int blacklist_start_check(aClient *cptr);
|
||||
@@ -142,6 +143,7 @@ MOD_INIT(blacklist)
|
||||
HookAdd(modinfo->handle, HOOKTYPE_PRE_LOCAL_CONNECT, 0, blacklist_preconnect);
|
||||
HookAdd(modinfo->handle, HOOKTYPE_REHASH, 0, blacklist_rehash);
|
||||
HookAdd(modinfo->handle, HOOKTYPE_REHASH_COMPLETE, 0, blacklist_rehash_complete);
|
||||
HookAdd(modinfo->handle, HOOKTYPE_LOCAL_QUIT, 0, blacklist_quit);
|
||||
|
||||
SnomaskAdd(modinfo->handle, 'b', 1, umode_allow_opers, &SNO_BLACKLIST);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user