Преглед изворни кода

Fix build break from last commit a3e1b27 on mono 2.4.3

Looks like this level of mono doesn't have a string.Join() which will take a list rather than an array (or some implicit conversion isn't happening)
Justin Clark-Casey (justincc) пре 11 година
родитељ
комит
4a81465b91
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      OpenSim/Tools/pCampBot/BotManager.cs

+ 1 - 1
OpenSim/Tools/pCampBot/BotManager.cs

@@ -597,7 +597,7 @@ namespace pCampBot
 
             List<Simulator> connectedSimulators = bot.Simulators;
             List<string> simulatorNames = connectedSimulators.ConvertAll<string>(cs => cs.Name);
-            cdl.AddRow("Connections", string.Join(", ", simulatorNames));
+            cdl.AddRow("Connections", string.Join(", ", simulatorNames.ToArray()));
 
             MainConsole.Instance.Output(cdl.ToString());