[dss-commits] digitalSTROM Server branch, master, updated. ed24e1513f2fc5ff0c26f0ab3c407ff543915659
git version control
dss-commits at forum.digitalstrom.org
Wed Dec 16 16:21:32 CET 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "digitalSTROM Server".
The branch, master has been updated
via ed24e1513f2fc5ff0c26f0ab3c407ff543915659 (commit)
from d373c9e823e4fec4ff5ddd374f7b2ae636e2ce0c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ed24e1513f2fc5ff0c26f0ab3c407ff543915659
Author: Patrick Stählin <pstaehlin at futurelab.ch>
Date: Wed Dec 16 16:20:50 2009 +0100
dev.disable should not turn it on
Copy paste ftw!
-----------------------------------------------------------------------
Changes:
diff --git a/core/scripting/modeljs.cpp b/core/scripting/modeljs.cpp
index f18fefe..fc85d6c 100644
--- a/core/scripting/modeljs.cpp
+++ b/core/scripting/modeljs.cpp
@@ -435,7 +435,7 @@ namespace dss {
ScriptObject self(obj, *ctx);
if(self.is("set") || self.is("device")) {
IDeviceInterface* intf = static_cast<IDeviceInterface*>(JS_GetPrivate(cx, obj));
- intf->turnOn();
+ intf->disable();
*rval = INT_TO_JSVAL(0);
return JS_TRUE;
}
hooks/post-receive
--
digitalSTROM Server
More information about the dss-commits
mailing list