From e93c233b46312a77ea12a514ed94e01dcc34ba3b Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Sat, 30 Nov 2019 15:26:21 +0000 Subject: [PATCH] 50_SSChatBot: contrib 1.0.0 git-svn-id: https://svn.fhem.de/fhem/trunk@20629 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/50_SSChatBot.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/50_SSChatBot.pm b/fhem/contrib/DS_Starter/50_SSChatBot.pm index a8af84ebd..76cd0e74c 100644 --- a/fhem/contrib/DS_Starter/50_SSChatBot.pm +++ b/fhem/contrib/DS_Starter/50_SSChatBot.pm @@ -338,6 +338,7 @@ sub SSChatBot_Set($@) { } return "Your sendstring is incorrect. It must contain at least text with the \"text\" tag like 'text=\"...\"\nor only some text like \"this is a test\" '." if(!$text); + Log3($name, 5, "$name - Add sendItem to queue: ".$text); $users = AttrVal($name,"defaultPeer", "") if(!$users); @@ -1293,7 +1294,7 @@ sub SSChatBot_substText ($) { $txt =~ s/["']/´/g; $txt =~ s/H/h/g; # Bug im Chat wenn vor großem H ein Zeichen + Leerzeichen vorangeht - + return ($txt); }