mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 17:53:39 +02:00
Changed
This commit is contained in:
parent
e1848d9b89
commit
4e3410c394
@ -735,8 +735,11 @@ public class DConnection : Thread
|
|||||||
/* Get the proerty */
|
/* Get the proerty */
|
||||||
string propertyName = dataLine[1];
|
string propertyName = dataLine[1];
|
||||||
|
|
||||||
|
/* Get the user */
|
||||||
|
DConnection connection = server.findUser(username);
|
||||||
|
|
||||||
/* Determine if it is a valid property */
|
/* Determine if it is a valid property */
|
||||||
bool status = server.isProperty(username, propertyName);
|
bool status = connection.isProperty(propertyName);
|
||||||
|
|
||||||
/* Encode the status */
|
/* Encode the status */
|
||||||
reply ~= [status];
|
reply ~= [status];
|
||||||
@ -799,8 +802,11 @@ public class DConnection : Thread
|
|||||||
/* Get the proerty */
|
/* Get the proerty */
|
||||||
string propertyName = dataLine[1];
|
string propertyName = dataLine[1];
|
||||||
|
|
||||||
|
/* Get the user */
|
||||||
|
DConnection connection = server.findUser(username);
|
||||||
|
|
||||||
/* Determine if it is a valid property */
|
/* Determine if it is a valid property */
|
||||||
bool status = server.isProperty(username, propertyName);
|
bool status = connection.isProperty(propertyName);
|
||||||
|
|
||||||
/* Encode the status */
|
/* Encode the status */
|
||||||
reply ~= [true];
|
reply ~= [true];
|
||||||
|
Loading…
Reference in New Issue
Block a user