Modified ACTION for groupchat
[mirrors/libpurple-core-answerscripts.git] / answerscripts.c
index 4104da258c32d9b1a82cc2d4fbd19fd6c351249d..48f661125ea6f2cfde9d8d95c9bda45bc59f01ec 100755 (executable)
@@ -205,7 +205,7 @@ static void received_cm_msg_cb(PurpleAccount *account, char *who, char *buffer,
                }
 
                //Export variables to environment
                }
 
                //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"
                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"
This page took 0.130017 seconds and 4 git commands to generate.