Skip to content
Permalink
Browse files

Removed useless code

  • Loading branch information...
H0zen committed Jun 11, 2019
1 parent 7b7f0cc commit 4a28d1cb2e763dc0119622a297db5bad4767fb82
Showing with 0 additions and 16 deletions.
  1. +0 −16 system/ScriptDevMgr.cpp
@@ -200,26 +200,10 @@ void SD3::InitScriptLibrary()
outstring_log(" |_| ");
outstring_log(" https://getmangos.eu/\n");

// Get configuration file
bool configFailure = false;
if (!SD3Config.SetSource(MANGOSD_CONFIG_LOCATION))
{
configFailure = true;
}
else
{
outstring_log("[SD3]: Using configuration file %s", MANGOSD_CONFIG_LOCATION);
}

// Set SD3 Error Log File
std::string SD3LogFile = sConfig.GetStringDefault("SD3ErrorLogFile", "scriptdev3-errors.log");
setScriptLibraryErrorFile(SD3LogFile.c_str(), "SD3");

if (configFailure)
{
script_error_log("[SD3]: Unable to open configuration file. Configuration values will use default.");
}

outstring_log("\n");

// Load SD3 Script Bindings from the database

0 comments on commit 4a28d1c

Please sign in to comment.
You can’t perform that action at this time.