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