* Another minor GenericMessage fix - If we assume the method names are case-insensitive, we should process them as such.

0.6.2-post-fixes
Adam Frisby 2009-01-04 19:41:55 +00:00
parent 00a0f4a286
commit 3b0eb958a8
1 changed files with 2 additions and 0 deletions

View File

@ -642,6 +642,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public bool AddGenericPacketHandler(string MethodName, GenericMessage handler) public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
{ {
MethodName = MethodName.ToLower().Trim();
bool result = false; bool result = false;
lock (m_genericPacketHandlers) lock (m_genericPacketHandlers)
{ {