diff --git a/gajim/plugins/pluginmanager.py b/gajim/plugins/pluginmanager.py index daaccb19de418e69cc8fca6d5e426babf96f71a4..07c9fa0e72f8fd342a9abe82b463f2937dab41e9 100644 --- a/gajim/plugins/pluginmanager.py +++ b/gajim/plugins/pluginmanager.py @@ -426,8 +426,6 @@ def _unregister_modules_with_handlers(self, plugin): # So just unregister the plugin handlers if con.handlers_registered: for handler in instance.handlers: - if len(handler) > 4: - handler = handler[:4] con.connection.unregister_handler(handler) def activate_plugin(self, plugin):