i'd like to see antispam features...
[mirrors/libpurple-core-answerscripts.git] / answerscripts.c
index ebbaa1f6a1f2c078aafeda74a48e4db235c1c3dd..3e629db9a4191d6e118556a35f0868d9de96069f 100755 (executable)
@@ -46,7 +46,10 @@ typedef struct {
 } answerscripts_job;
 
 const void *check_null(const void *pointer) {
 } answerscripts_job;
 
 const void *check_null(const void *pointer) {
-       if(pointer == NULL) return "";
+       if(pointer == NULL) {
+               fprintf(stderr, "NULL pointer detected in answerscripts!\n");
+               return "";
+       }
        return pointer;
 }
 
        return pointer;
 }
 
@@ -220,7 +223,7 @@ static PurplePluginInfo info = {
 
        "core-answerscripts",
        "AnswerScripts",
 
        "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()) "
        "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()) "
This page took 0.154047 seconds and 4 git commands to generate.