mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 16:10:49 +01:00
Tools/ConnectionPatcher: Fix a typo when checking if moduleName dir exists
Thanks to @ChipLeo Ref #13866
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Connection_Patcher
|
||||
if (!fs::exists(modulePath))
|
||||
fs::create_directories(modulePath);
|
||||
|
||||
if (fs::exists(modulePath / modulePath))
|
||||
if (fs::exists(modulePath / moduleName))
|
||||
fs::permissions(modulePath / moduleName, fs::add_perms | fs::others_write | fs::group_write | fs::owner_write);
|
||||
patcher.Finish(modulePath / moduleName);
|
||||
fs::permissions(modulePath / moduleName, fs::remove_perms | fs::others_write | fs::group_write | fs::owner_write);
|
||||
|
||||
Reference in New Issue
Block a user