mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -402,7 +402,7 @@ namespace OpenSim.Framework.Console
|
||||
reply["content_type"] = "text/plain";
|
||||
|
||||
// Check user name and password
|
||||
if (m_UserName == String.Empty)
|
||||
if (m_UserName.Length == 0)
|
||||
return reply;
|
||||
|
||||
if (post["USER"] == null || post["PASS"] == null)
|
||||
|
||||
Reference in New Issue
Block a user