module that can be hooked before send/recv of TEXT
|From User||Message Body|
Date: 3:18 pm, Dec 8 2007
|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 ?