}
//Export variables to environment
- setenv(ENV_PREFIX "ACTION", "IM", 1); //what happend: im, chat, show setting dialog, event, etc...
+ setenv(ENV_PREFIX "ACTION", "CHAT", 1); //what happend: im, chat, show setting dialog, event, etc...
setenv(ENV_PREFIX "MSG", message, 1); //text of the message
setenv(ENV_PREFIX "PROTOCOL", protocol_id, 1); //protocol used to deliver the message. eg.: xmpp, irc,...
setenv(ENV_PREFIX "R_NAME", who, 1); //ID of remote user - "buddy"