Merge branch 'master' into lsid

This commit is contained in:
Akkadius
2019-06-26 00:56:13 -05:00
2172 changed files with 293887 additions and 87284 deletions
+3 -1
View File
@@ -257,13 +257,15 @@ void ServerManager::DestroyServerByName(std::string l_name, std::string s_name,
while (iter != world_servers.end()) {
if ((*iter).get() == ignore) {
++iter;
continue;
}
if ((*iter)->GetLongName().compare(l_name) == 0 && (*iter)->GetShortName().compare(s_name) == 0) {
(*iter)->GetConnection()->Handle()->Disconnect();
iter = world_servers.erase(iter);
continue;
}
++iter;
}
}
}