summaryrefslogtreecommitdiffstats
path: root/module/PluginManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r--module/PluginManager.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py
index cdb3548cb..7ed7d3788 100644
--- a/module/PluginManager.py
+++ b/module/PluginManager.py
@@ -110,7 +110,7 @@ class PluginManager():
if pattern:
pattern = pattern[0][1]
else:
- pattern = "unmachtable"
+ pattern = "^unmachtable$"
plugins[name]["pattern"] = pattern
@@ -176,11 +176,8 @@ class PluginManager():
plugin = self.crypterPlugins[name]
if self.hosterPlugins.has_key(name):
plugin = self.hosterPlugins[name]
-
- if not plugin:
- plugin = __import__("module.plugins.hoster.BasePlugin", fromlist=[])
- return plugin
+
if plugin.has_key("module"):
return plugin["module"]