mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
use some shared char arrays on string split
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user