Commit 135be5ca authored by Philipp Hörist's avatar Philipp Hörist

Remove unused code

parent d41e99f3
......@@ -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):
......
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