diff --git a/gajim/common/client.py b/gajim/common/client.py
index 580ae169497aa2c2a3cd3c01acab66bbd6e3fa25..9f5bc4c4cc8e1efe89e7223d96fc62948e1ebf2e 100644
--- a/gajim/common/client.py
+++ b/gajim/common/client.py
@@ -374,12 +374,7 @@ def change_status(self, show, msg, auto=False):
 
     def _register_new_handlers(self):
         for handler in modules.get_handlers(self):
-            if len(handler) == 5:
-                name, func, typ, ns, priority = handler
-                self._client.register_handler(
-                    name, func, typ, ns, priority=priority)
-            else:
-                self._client.register_handler(*handler)
+            self._client.register_handler(*handler)
         self.handlers_registered = True
 
     def get_module(self, name):