summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--priv/bullet.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/bullet.js b/priv/bullet.js
index a838f93..75db156 100644
--- a/priv/bullet.js
+++ b/priv/bullet.js
@@ -321,7 +321,8 @@
};
this.send = function(data){
if (transport){
- return transport.send(data);
+ var ret = transport.send(data);
+ return (ret === undefined) || ret;
} else{
return false;
}