use some shared char arrays on string split

This commit is contained in:
UbitUmarov
2022-10-19 01:38:25 +01:00
parent 11005b24e9
commit fddb3761a0
24 changed files with 105 additions and 101 deletions

View File

@@ -62,7 +62,7 @@ namespace OpenSim.Framework.Console
/// <param name="help">the text displayed in "help showme new commands"</param>
public ConsolePluginCommand(string command, ConsoleCommand dlg, string help)
{
m_cmdText = command.Split(new char[] { ' ' });
m_cmdText = command.Split();
m_commandDelegate = dlg;
m_helpText = help;
}