mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 13:33:13 +02:00
Rewrite/cleanup huge portion of TKL handling (16 files updated, but
src/modules/tkl.c is the main one). Also move DB writing/reading functions to src/misc.c so they can be removed out of channeldb and tkldb. Important note to current tkldb users: Unfortunately due to the major cleanup I had to remove upgrading for previously saved tkl db files. That seemed not worth the effort for maybe <15 current users or so. It also makes the tkldb code a lot more cleaner. Otherwise it would be a huge mess. Currently a FIXME item: spamfilter support in RMTKL.
This commit is contained in:
+1
-1
@@ -530,7 +530,7 @@ int _do_join(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
}
|
||||
if (ValidatePermissionsForPath("immune:server-ban:deny-channel",sptr,NULL,NULL,NULL) && (tklban = find_qline(sptr, name, &ishold)))
|
||||
{
|
||||
sendnumeric(sptr, ERR_FORBIDDENCHANNEL, name, tklban->reason);
|
||||
sendnumeric(sptr, ERR_FORBIDDENCHANNEL, name, tklban->ptr.nameban->reason);
|
||||
continue;
|
||||
}
|
||||
/* ugly set::spamfilter::virus-help-channel-deny hack.. */
|
||||
|
||||
Reference in New Issue
Block a user