These are old archives. They are kept for historic purposes only.
5 posts • Page 1 of 1
If you know that sptr, what you want to ban, always points to a local client, the easiest way is to use Syzop's place_host_ban function declared in src/s_kline.c. Or else build up an array of tkl parameters that you later pass to m_tkl (a function that is in src/s_kline.c, too), like in the m_tkl_line function of src/modules/m_tkl.c (see tklllayer).
- Former UnrealIRCd head coder
- Posts: 811
- Joined: Sat Mar 06, 2004 8:47 pm
- Location: United States
The fact that you are saying that tells me you don't know C. You don't include .c files, you include .h files. There is no reason you would ever want to include s_kline.c. I suggest, before playing with modules, you learn some C first.how do i include the file from src. i tried #include <src/s_kline.c>, <../s_kline.c>, <s_kline.c>, with <>s with "s and nothing worked.