module that can be hooked before send/recv of TEXT

Back to PHP-IRC Feature Requests

Page: 1  
From User Message Body
IdanB
Post #655
Member
Date: 3:18 pm, Dec 8 2007
Posts: 2


i'm trying to code some blowfish module, and trying to think of a "modular" way of doing it.
for that i require some hook system, that will allow me to inject code somewhere along the main core, in a way that will allow me to add condition on sent text for PRIVMSG (for example), so if destination chan is encrypted, i'll replace the normal text with the encrypted one (encryption is not the issue, got the php functions for it)

does any got any suggestions or approach that might work to achive this goal ?

   

Back to PHP-IRC Feature Requests