Only load top-level assembly
This commit is contained in:
@ -64,7 +64,7 @@ namespace RageCoop.Server.Scripting
|
||||
IsDirectory=false,
|
||||
Name=relativeName
|
||||
};
|
||||
if (file.EndsWith(".dll") && IsManagedAssembly(file))
|
||||
if (file.EndsWith(".dll") && !file.Contains('/') && IsManagedAssembly(file))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user