diff options
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r-- | hcid/dbus-database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c index 423d117b..fbd79c91 100644 --- a/hcid/dbus-database.c +++ b/hcid/dbus-database.c @@ -312,7 +312,7 @@ static DBusHandlerResult unregister_service(DBusConnection *conn, if (!service) return error_service_does_not_exist(conn, msg); - if (!service->internal || strcmp(sender, service->bus_name)) + if (!service->external || strcmp(sender, service->bus_name)) return error_not_authorized(conn, msg); if (service_unregister(service) < 0) |