remove addpkg crap from server, since we don't use it.

This commit is contained in:
Chris Forbes
2010-07-13 19:59:06 +12:00
committed by Paul Chote
parent 3e0f850309
commit 65d2a5bb3c
2 changed files with 0 additions and 21 deletions

View File

@@ -359,25 +359,6 @@ namespace OpenRA.Server
SyncLobbyInfo();
return true;
}},
{ "addpkg",
s =>
{
Console.WriteLine("** Added package: `{0}`", s);
try
{
lobbyInfo.GlobalSettings.Packages =
lobbyInfo.GlobalSettings.Packages.Concat( new string[] {
MakePackageString(s)}).ToArray();
SyncLobbyInfo();
return true;
}
catch
{
Console.WriteLine("Adding the package failed.");
SendChatTo( conn, "Adding the package failed." );
return true;
}
}},
{ "mods",
s =>
{