1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-27 14:46:37 +02:00
Files
unrealircd/include
Bram Matthys 7dee0cdcf1 - Added support for "chained" extbans. Put simply this allows extban combinations
such as ~q:~c:#test to only silence users on #test, for example. This feature
  is enabled by default, but can be disabled during ./Config -advanced. Module
  support for this feature must note the following:
  - For is_ok function, the extban can either assign extban_is_ok_nuh_extban, which
    will deal checking a chained extban (including checking for restricted extbans),
    or it can call that function from its own is_ok routine. For the latter case,
    remember to pass only the mask part of your ban format (ie, don't just pass para as
    otherwise it'll just call your is_ok again).
  - For conv_param function, the extban can either assign extban_conv_param_nuh_or_extban,
    which will automatically call conv_param for a chained extban, or pretty up a n!u@h mask.
  - For is_banned, the extban should call ban_check_mask with the mask part of the parameter.
    This will automatically call is_banned for a stacked extban, or match against a n!u@h. n!u@h
    is checked against the current user (ie, with the info in the globals ban_ip, etc), so things
    can get weird if you call this outside a normal ban check.
  Modules must keep in mind that chained extban support is not available (and neither are the three
  functions above) if DISABLE_STACKED_EXTBANS is #defined (this is controled by Config). Modules will
  not compile/load if they try to use them anyway.
  This change should not break extban modules, and should need some more extensive testing.
- Misc fix for disabling extban chains, should've done stuff in our autoconf
  stuff instead of hacking configure directly :P .
2009-11-29 12:46:29 +00:00
..
2004-01-08 19:00:44 +00:00
2003-01-02 19:32:58 +00:00
2002-03-05 23:09:39 +00:00
2002-01-19 17:04:04 +00:00
2004-05-12 22:02:05 +00:00
2002-02-16 20:15:41 +00:00
...
2004-11-26 22:28:13 +00:00
2004-05-12 23:05:40 +00:00
2001-04-16 15:36:30 +00:00
2000-02-28 22:45:44 +00:00
2004-05-12 22:02:05 +00:00
2000-07-14 20:22:59 +00:00
2004-05-13 16:39:23 +00:00
2004-05-13 16:39:23 +00:00
2004-02-22 02:52:12 +00:00
2004-05-13 16:39:23 +00:00