diff Core.lua @ 137:6dc0e8e9f960 v64

uldir for auto-logging
author yellowfive
date Mon, 03 Sep 2018 19:19:38 -0700
parents a0894ffebd15
children c229c759a125
line wrap: on
line diff
--- a/Core.lua	Sun Aug 12 23:36:32 2018 -0700
+++ b/Core.lua	Mon Sep 03 19:19:38 2018 -0700
@@ -106,6 +106,12 @@
 				hasSomeLogging = true
 			end
 		end
+	end	
+
+	for k,v in pairs(Amr.db.profile.Logging.Auto) do
+		if not Amr.IsSupportedInstanceId(k) then
+			Amr.db.profile.Logging.Auto[k] = nil
+		end		
 	end
 	
 	if hasSomeLogging then