From 45d0f23415e7820ee541048804750468e4e21596 Mon Sep 17 00:00:00 2001
From: Kasalehlia <kasalehlia@clonejo.de>
Date: Tue, 17 Nov 2015 20:21:11 +0100
Subject: [PATCH] the callback is now first time only

---
 modules/weather.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/weather.js b/modules/weather.js
index e5d9a8b..db8ce35 100644
--- a/modules/weather.js
+++ b/modules/weather.js
@@ -70,6 +70,7 @@ module.exports = function (io) {
         var then = function () {
             if (context.current && context.forecast) {
                 firstUpdateCb();
+                then = function () {}
             }
         };
         fetchCurrent(CITYID, function (current) {
-- 
GitLab