diff options
-rw-r--r-- | services/presence/PresenceService.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/presence/PresenceService.py b/services/presence/PresenceService.py index 400d7cf..5fdc48c 100644 --- a/services/presence/PresenceService.py +++ b/services/presence/PresenceService.py @@ -714,7 +714,7 @@ class PresenceService(object): raise ValueError("invalid activity id") owner_nick = self._owner.get_name() real_name = Service.compose_service_name(owner_nick, activity_id) - if address and isinstance(address, unicode): + if address and not isinstance(address, unicode): raise ValueError("address must be a unicode string.") if address == None and stype.endswith('_udp'): # Use random currently unassigned multicast address |