diff --git a/core/src/main/groovy/com/muwire/core/connection/Connection.groovy b/core/src/main/groovy/com/muwire/core/connection/Connection.groovy index 633dedd8..19293a04 100644 --- a/core/src/main/groovy/com/muwire/core/connection/Connection.groovy +++ b/core/src/main/groovy/com/muwire/core/connection/Connection.groovy @@ -164,7 +164,7 @@ abstract class Connection implements Closeable { QueryEvent event = new QueryEvent ( searchEvent : searchEvent, replyTo : replyTo, receivedOn : endpoint.destination, - firstHop : search.firstHop ) + firstHop : Boolean.parseBoolean(search.firstHop) ) eventBus.publish(event) }