From 82c945cbf3ea97175cd2fba31f8ba92b9aade8ba Mon Sep 17 00:00:00 2001
From: Roman Bazalevsky <rvb@rvb.name>
Date: Mon, 24 Dec 2018 11:06:56 +0300
Subject: [PATCH] =?utf8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?=
 =?utf8?q?=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20=D1=81=20?=
 =?utf8?q?=D0=BD=D0=B5=D0=BF=D1=80=D0=B5=D0=B4=D1=83=D0=BC=D1=8B=D1=88?=
 =?utf8?q?=D0=BB=D0=B5=D0=BD=D0=BD=D1=8B=D0=BC=20=D1=83=D1=81=D1=82=D0=B0?=
 =?utf8?q?=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC=20=D1=81?=
 =?utf8?q?=D1=82=D0=B0=D1=82=D1=83=D1=81=D0=B0=20retained=20=D0=B4=D0=BB?=
 =?utf8?q?=D1=8F=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 bin/weathermon | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/weathermon b/bin/weathermon
index 8da4696..ade5bfa 100755
--- a/bin/weathermon
+++ b/bin/weathermon
@@ -185,7 +185,7 @@ function processJson(str)
         if not mqtt_client:socket() then
           mqtt_client:reconnect()
         end  
-        mqtt_client:publish(mqtt_path,v,0,0)
+        mqtt_client:publish(mqtt_path,v,0,false)
         mqtt_client:loop()
       end  
     end
@@ -248,7 +248,7 @@ function processLine(str)
                 return '{'..name..'}'
               end      
             end)
-          mqtt_client:publish(mqtt_path,v,0,0)
+          mqtt_client:publish(mqtt_path,v,0,false)
           mqtt_client:loop()
         end  
       end
@@ -289,7 +289,7 @@ function processLine(str)
               return '{'..name..'}'
             end      
           end)
-        mqtt_client:publish(mqtt_path,msg_body,0,0)
+        mqtt_client:publish(mqtt_path,msg_body,0,false)
         mqtt_client:loop()
       end
       if alarm_exec then
-- 
2.34.1