Type[] types = a.GetTypes();
foreach (Type t in types) {
if (t.IsSubclassOf(typeof(WebThingPlugin))) {
+ if (Plugins.ContainsKey(t.FullName))
+ continue;
WebThingPlugin p = (WebThingPlugin) a.CreateInstance(t.FullName, false, BindingFlags.ExactBinding, null, null, null, null);
p.Init(wt);
Plugins[t.FullName] = p;