Skip to content

Commit

Permalink
Remove some over-eager protection
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 30, 2017
1 parent 560b59b commit ed3aed8
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -252,10 +252,6 @@ public void execute(final ScriptEntry scriptEntry) throws CommandExecutionExcept
dB.echoError("File cannot be found!");
return;
}
if (!Utilities.isSafeFile(file)) {
dB.echoError(scriptEntry.getResidingQueue(), "Cannot load that file!");
return;
}
try {
FileInputStream fis = new FileInputStream(file);
String str = ScriptHelper.convertStreamToString(fis);
Expand Down

0 comments on commit ed3aed8

Please sign in to comment.