about summary refs log tree commit diff
path: root/pkgs/aszlig/santander/pipelight.patch
blob: 3a07da72d34fcac5270dc7a472df30777649eb2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/windows/pluginloader/pluginloader.c b/src/windows/pluginloader/pluginloader.c
index 9e8556f..c50be2a 100644
--- a/src/windows/pluginloader/pluginloader.c
+++ b/src/windows/pluginloader/pluginloader.c
@@ -1510,7 +1510,7 @@ void dispatcher(int functionid, Stack &stack){
 				NPObject *objectValue;
 				NPError result;
 
-				if (variable == NPPVpluginScriptableNPObject)
+				if (variable == NPPVpluginScriptableNPObject && pluginFuncs.getvalue)
 					result = pluginFuncs.getvalue(instance, variable, &objectValue);
 				else{
 					DBG_WARN("FUNCTION_NPP_GETVALUE_OBJECT - variable %d not allowed", variable);