Update rpc.js

This commit is contained in:
robbielj 2014-03-14 13:59:12 +01:00
parent 59c66a211a
commit e129e7c034

View File

@ -39,7 +39,7 @@ function(syscall, time, alerts, utils, rootScope, uri) {
timeout = null; timeout = null;
subscriptions = _.filter(subscriptions, function(e) { subscriptions = _.filter(subscriptions, function(e) {
return !!e && e.once !== 2; return !!e && e.once !== 2;
}); });
var subs = subscriptions.slice(); var subs = subscriptions.slice();
if (!subs.length) { if (!subs.length) {