Commit 78d8015b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Remove unused code

parent ae459e24
...@@ -426,8 +426,6 @@ def _unregister_modules_with_handlers(self, plugin): ...@@ -426,8 +426,6 @@ def _unregister_modules_with_handlers(self, plugin):
# So just unregister the plugin handlers # So just unregister the plugin handlers
if con.handlers_registered: if con.handlers_registered:
for handler in instance.handlers: for handler in instance.handlers:
if len(handler) > 4:
handler = handler[:4]
con.connection.unregister_handler(handler) con.connection.unregister_handler(handler)
def activate_plugin(self, plugin): def activate_plugin(self, plugin):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment