Event trigger by name now won't trigger disabled events.
1.1 --- a/SharpLibEar/Manager.cs Wed Aug 31 23:59:00 2016 +0200
1.2 +++ b/SharpLibEar/Manager.cs Fri Sep 02 01:38:08 2016 +0200
1.3 @@ -85,7 +85,7 @@
1.4 // Only trigger events matching the desired type
1.5 // Doing some safety checks as well to prevent crashing if name was left null for some reason
1.6 // This was the case when loading existing settings after event Name was introduced
1.7 - foreach (Event e in Events.Where(e => !string.IsNullOrEmpty(e.Name) && aName.Equals(e.Name)))
1.8 + foreach (Event e in Events.Where(e => !string.IsNullOrEmpty(e.Name) && e.Enabled && aName.Equals(e.Name)))
1.9 {
1.10 await e.Trigger();
1.11 }