diff options
author | Christian Hesse <mail@eworm.de> | 2021-08-25 00:35:08 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-08-25 00:35:08 +0200 |
commit | 772e66b6226f5f9a345bbef29a7453380b693ea1 (patch) | |
tree | 104eab755a0779b6950fc1a35e4cd4bb31d89004 /global-functions.d/notification-telegram | |
parent | d4896f2585ecd9bfa4f2be0fbec164a18a7b5730 (diff) |
global-functions.d/notification-telegram: for syntax for ROS 7.xrouteros-7.1rc1-1
Strings with escape sequence have to be enclosed in parentheses. Looks
like RouterOS 7.x is stricter here...
Diffstat (limited to 'global-functions.d/notification-telegram')
-rw-r--r-- | global-functions.d/notification-telegram | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.d/notification-telegram b/global-functions.d/notification-telegram index 5643e58..4a05c9a 100644 --- a/global-functions.d/notification-telegram +++ b/global-functions.d/notification-telegram @@ -71,7 +71,7 @@ :global IfThenElse; :if ($TelegramFixedWidthFont != true) do={ - :return ($1 . [ $IfThenElse ($2 = "body") "\n" "" ]); + :return ($1 . [ $IfThenElse ($2 = "body") ("\n") "" ]); } :local Return $1; |