This commit is contained in:
Tristan B. Kildaire 2020-10-29 11:20:54 +02:00
parent e1848d9b89
commit 4e3410c394
1 changed files with 8 additions and 2 deletions

View File

@ -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];