diff --git a/pyfase.py b/pyfase.py index 8c3e3a2..80fe35b 100644 --- a/pyfase.py +++ b/pyfase.py @@ -115,7 +115,7 @@ def execute(self, enable_tasks=None): if ':' in pkg: # IS A REGISTER PACKAGE! o_pkg = loads(pkg[4:]) service = o_pkg['s'] - if self.name in service: + if self.name == service: self.on_connect() else: self.on_new_service(service, o_pkg['a'])