Add key length validation to DAMap.Add(KeyValuePair<string, OSDMap> kvp) to match Add(string key, OSDMap store)

user_profiles
Justin Clark-Casey (justincc) 2013-02-07 00:15:50 +00:00
parent 0baa2590be
commit e2c1e37b07
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ namespace OpenSim.Framework
}
public void Add(KeyValuePair<string, OSDMap> kvp)
{
{
ValidateKey(kvp.Key);
lock (this)
m_map.Add(kvp.Key, kvp.Value);
}