дополнение безопасности. не везде был сделан режим чтения
This commit is contained in:
@@ -30,7 +30,7 @@ public class PauseDVMPackage extends ConnectionPass<DVMPackage> {
|
||||
}
|
||||
machine =target.getMachine();
|
||||
user = target.getUser();
|
||||
return true;
|
||||
return Global.mainModule.getAccount().CheckAuthorship(target.sender_address,Log);
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
|
||||
@@ -27,7 +27,7 @@ public class ResumeDVMPackage extends ConnectionPass<DVMPackage> {
|
||||
}
|
||||
machine = target.getMachine();
|
||||
user = target.getUser();
|
||||
return true;
|
||||
return Global.mainModule.getAccount().CheckAuthorship(target.sender_address,Log);
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user