New features in existing sources or modules ?

These are old archives. They are kept for historic purposes only.
Post Reply
Capitaine
Posts: 27
Joined: Mon Apr 26, 2004 6:09 pm

New features in existing sources or modules ?

Post by Capitaine » Fri Jul 06, 2007 12:06 pm

Hello everyone

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.

Post Reply