From 075859c8986827b21c313affa896de814e3ae763 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Jul 2020 08:07:12 +0200 Subject: global-functions: introduce and use $SymbolForNotification --- check-routeros-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'check-routeros-update') diff --git a/check-routeros-update b/check-routeros-update index 8b1b54f..ee018c0 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -15,7 +15,7 @@ :global LogPrintExit; :global ScriptFromTerminal; :global SendNotification; -:global SymbolByUnicodeName; +:global SymbolForNotification; :global VersionToNum; :local DoUpdate do={ @@ -89,7 +89,7 @@ $Update->"latest-version" . ".") true; } - $SendNotification ([ $SymbolByUnicodeName "sparkles" ] . " RouterOS update") \ + $SendNotification ([ $SymbolForNotification "sparkles" ] . "RouterOS update") \ ("A new RouterOS version " . ($Update->"latest-version") . \ " is available for " . $Identity . ".\n\n" . \ [ $DeviceInfo ] . "\n\n" . \ -- cgit v1.2.3-54-g00ecf