X-Git-Url: http://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=blobdiff_plain;f=answerscripts.c;h=ed13b83aee94ca659cbcbaebaebe1416a6adc157;hp=0ad50d7c70a0e30f118bf1691219902078215f11;hb=9b2bdf343f82c9c9f669585f7b047d34bc80ac61;hpb=10a3ed036e46943ef3c5b662d4b5299055f3b78a diff --git a/answerscripts.c b/answerscripts.c index 0ad50d7..ed13b83 100755 --- a/answerscripts.c +++ b/answerscripts.c @@ -220,7 +220,7 @@ static PurplePluginInfo info = { "core-answerscripts", "AnswerScripts", - "0.5.3", + "0.5.4", "Framework for hooking scripts to process received messages for libpurple clients", "\nThis plugin will execute script \"~/.purple/" ANSWERSCRIPT "\" " "(or any other executable called \"" ANSWERSCRIPT "\" and found in purple_user_dir()) " @@ -248,12 +248,12 @@ static PurplePluginInfo info = { static void init_plugin(PurplePlugin * plugin) { //Export static environment variables - #ifndef __x86_64__ //Workaround for x86_64 (where this causes problems for unknown reason) + //#ifndef __x86_64__ //Workaround for x86_64 (where this causes problems for unknown reason) const char * core_ui = check_null(purple_core_get_ui()); const char * core_version = check_null(purple_core_get_version()); setenv(ENV_PREFIX "L_AGENT", (char *) core_ui, 1); //ID of IM client used with answerscripts setenv(ENV_PREFIX "L_AGENT_VERSION", (char *) core_version, 1); //Version of client - #endif + //#endif } PURPLE_INIT_PLUGIN(autoanswer, init_plugin, info)