From 78d8015b716b616753138cb18adbda2455262842 Mon Sep 17 00:00:00 2001 From: lovetox Date: Sat, 2 May 2020 09:22:10 +0200 Subject: [PATCH] Remove unused code --- gajim/plugins/pluginmanager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gajim/plugins/pluginmanager.py b/gajim/plugins/pluginmanager.py index daaccb19d..07c9fa0e7 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): -- GitLab