summaryrefslogtreecommitdiff
path: root/SpiceXPI/src/plugin/nsScriptablePeer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SpiceXPI/src/plugin/nsScriptablePeer.cpp')
-rw-r--r--SpiceXPI/src/plugin/nsScriptablePeer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SpiceXPI/src/plugin/nsScriptablePeer.cpp b/SpiceXPI/src/plugin/nsScriptablePeer.cpp
index 68a74fb..b9319a7 100644
--- a/SpiceXPI/src/plugin/nsScriptablePeer.cpp
+++ b/SpiceXPI/src/plugin/nsScriptablePeer.cpp
@@ -175,7 +175,7 @@ bool ScriptablePluginObject::GetProperty(NPIdentifier name, NPVariant *result)
VOID_TO_NPVARIANT(*result);
if (!m_plugin)
- return true;
+ return false;
if (name == m_id_host_ip)
STRINGZ_TO_NPVARIANT(m_plugin->GetHostIP(), *result);