freifunk-bot

Modular parser for the hackerspace door status with handlers for multiple services
git clone git://archive.git.mtrnord.blog/MTRNord/freifunk-bot.git
Log | Files | Refs | README | LICENSE

commit f5fe0280e6368a65ccd297a7a9d75726cd2e1505
parent 2cbfe63ed229d1a4ec89b6964ec7b16e72dc052d
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 10 Sep 2016 20:52:36 +0200

fix bug

Diffstat:
Mmain.js | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/main.js b/main.js @@ -163,12 +163,13 @@ async.auto({ GetData: function (callback) { async.forever( function(next) { - GetData(next) - callback(err) + GetData() + callback(next) }, function(err) { // if next is called with a value in its first parameter, it will appear // in here as 'err', and execution will stop. + callback(err) } ); }