forked from mirror/openmw-tes3mp
[Server] Fix issues after rebase
This commit is contained in:
parent
c550697443
commit
860897fbd7
2 changed files with 2 additions and 7 deletions
|
@ -77,7 +77,7 @@ Networking::~Networking()
|
|||
|
||||
void Networking::setServerPassword(const std::string &passw) noexcept
|
||||
{
|
||||
serverPassword = password.empty() ? TES3MP_DEFAULT_PASSW : password;
|
||||
serverPassword = passw.empty() ? TES3MP_DEFAULT_PASSW : passw;
|
||||
}
|
||||
|
||||
bool Networking::isPassworded() const
|
||||
|
|
|
@ -245,13 +245,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
try
|
||||
{
|
||||
<<<<<<< 0.7.0
|
||||
for (auto plugin : plugins)
|
||||
Script::LoadScript(plugin.c_str(), pluginHome.c_str());
|
||||
=======
|
||||
for (const auto &plugin : plugins)
|
||||
Plugin::LoadPlugin(Utils::convertPath(plugin_home + "/scripts/" + plugin));
|
||||
>>>>>>> [Server] Rework Plugin API, move Lua system to external library
|
||||
Plugin::LoadPlugin(Utils::convertPath(pluginHome + "/scripts/" + plugin));
|
||||
|
||||
switch (peer->Startup((unsigned) players, &sd, 1))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue