diff options
-rw-r--r-- | log-forward | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-forward b/log-forward index e0cb3aa..03b408d 100644 --- a/log-forward +++ b/log-forward @@ -44,7 +44,7 @@ $WaitFullyConnected; :local Count 0; :local Duplicates false; -:local Last [ $HexToNum $LogForwardLast ]; +:local Last [ $IfThenElse ([ :len $LogForwardLast ] > 0) [ $HexToNum $LogForwardLast ] -1 ]; :local Messages ""; :local MessageVal; :local MessageDups [ :toarray "" ]; |