diff options
author | Christian Hesse <mail@eworm.de> | 2023-10-10 10:29:28 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-10-16 11:51:04 +0200 |
commit | 4c51b2fe52d8972dd8e84586a1eb700d56c00013 (patch) | |
tree | 380e551ef9ccb04ac9af3ee8b65f3798e8106e3e /telegram-chat.rsc | |
parent | 65d05a757b60fda68547b0f4df9ab397fcfd71c6 (diff) |
telegram-chat: do not cover existing variable
Diffstat (limited to 'telegram-chat.rsc')
-rw-r--r-- | telegram-chat.rsc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telegram-chat.rsc b/telegram-chat.rsc index 62a6ccc..075161e 100644 --- a/telegram-chat.rsc +++ b/telegram-chat.rsc @@ -130,16 +130,16 @@ $WaitFullyConnected; } } } else={ - :local Message ("Received a message from untrusted contact " . \ + :local MessageText ("Received a message from untrusted contact " . \ [ $IfThenElse ($FromUserName = false) "without username" ("'" . $FromUserName . "'") ] . \ " (ID " . $FromID . ") in update " . $UpdateID . "!"); :if ($Text ~ ("^! *" . [ $EscapeForRegEx $Identity ] . "\$")) do={ - $LogPrintExit2 warning $0 $Message false; + $LogPrintExit2 warning $0 $MessageText false; $SendTelegram2 ({ origin=$0; chatid=$ChatID; silent=false; replyto=$MessageId; \ subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \ message=("You are not trusted.") }); } else={ - $LogPrintExit2 info $0 $Message false; + $LogPrintExit2 info $0 $MessageText false; } } } else={ |