Browse Source

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 years ago
parent
commit
4a81465b91
1 changed files with 1 additions and 1 deletions
  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());