mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -724,7 +724,7 @@ namespace OpenSim.Framework.Servers
|
||||
while ((currentCommand = readFile.ReadLine()) != null)
|
||||
{
|
||||
currentCommand = currentCommand.Trim();
|
||||
if (!(currentCommand == ""
|
||||
if (!(currentCommand.Length == 0
|
||||
|| currentCommand.StartsWith(";")
|
||||
|| currentCommand.StartsWith("//")
|
||||
|| currentCommand.StartsWith("#")))
|
||||
|
||||
Reference in New Issue
Block a user