mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 01:23:13 +02:00
7dee0cdcf17524a072236ff9d27c68c3da665c0a
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 .
==[ COMPILING ]== To build the ircd, run: ./Config make If you specified an alternative location during ./Config you also need to run "make install". ==[ MAKING A CONFIG FILE ]== If you are new, then you need to create your own configfile: copy doc/example.conf to your main UnrealIRCd directory and call it unrealircd.conf . Then open it in an editor and carefully modify it, consult the docs (doc/unreal32docs.html, or online: www.unrealircd.com/unreal32docs.html) for more information about every block/setting. Common problems are explained in the FAQ, which is located at: http://www.vulnscan.org/UnrealIrcd/faq/ . ==[ BOOTING YOUR IRCD ]== Just type: ./unreal start Note that after booting the errors are usually logged to ircd.log, so check that file if you have any problems. Again, check the FAQ (and docs) if you have any boot problems.
Description
Languages
C
94.6%
M4
1.8%
Shell
1.5%
Rich Text Format
1%
Makefile
0.6%
Other
0.5%