changeset 544:3b363fd0a60b

weather: Remove duplicated weather_save_aliases call.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 08 Jul 2020 00:47:35 +0300
parents a513b98f2a37
children 7d5d97dfc6ad
files weather.tcl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/weather.tcl	Wed Jul 08 00:42:05 2020 +0300
+++ b/weather.tcl	Wed Jul 08 00:47:35 2020 +0300
@@ -356,6 +356,7 @@
     } else {
       set res [weather_qm "stations_no_matches"]
     }
+
     weather_msg $upublic $unick $uchan "stations_list" [list $res]
     return 0
   } elseif {$rcmd == "lahin" || $rcmd == "lähin" || $rcmd == "closest" || $rcmd == "nearest"} {
@@ -476,7 +477,6 @@
     unset weather_aliases($ualias)
     weather_save_aliases
 
-    weather_save_aliases
     return 0
   } elseif {$rcmd == "list"} {
     # List all currently defined aliases