I have a module which add new user and channel modes.
Now I would like commands LIST or JOIN to behave differently according to these modes.
My problem is to modify or not modify sources ?
With the new modes, some channels must kept hidden from /LIST , and may display a notice when one /JOIN.
How to add new add new behaviours to /LIST or /JOIN and avoid duplicate all the code from m_list.c and m_join.c to modules ?
Edit: specifically, I would have to redefine ShowChannel(v,c) in struct.h because there isn't any hook which fits.
These are old archives. They are kept for historic purposes only.
1 post • Page 1 of 1