From 4e3410c394efda6fc67347a366c1d46a3fa35704 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 29 Oct 2020 11:20:54 +0200 Subject: [PATCH] Changed --- source/dnetd/dconnection.d | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/dnetd/dconnection.d b/source/dnetd/dconnection.d index 7dc622a..dfbc288 100644 --- a/source/dnetd/dconnection.d +++ b/source/dnetd/dconnection.d @@ -735,8 +735,11 @@ public class DConnection : Thread /* Get the proerty */ string propertyName = dataLine[1]; + /* Get the user */ + DConnection connection = server.findUser(username); + /* Determine if it is a valid property */ - bool status = server.isProperty(username, propertyName); + bool status = connection.isProperty(propertyName); /* Encode the status */ reply ~= [status]; @@ -799,8 +802,11 @@ public class DConnection : Thread /* Get the proerty */ string propertyName = dataLine[1]; + /* Get the user */ + DConnection connection = server.findUser(username); + /* Determine if it is a valid property */ - bool status = server.isProperty(username, propertyName); + bool status = connection.isProperty(propertyName); /* Encode the status */ reply ~= [true];