aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
authorMelanie2009-09-21 14:59:31 +0100
committerMelanie2009-09-21 14:59:31 +0100
commit04170521f081bf009bf15f76451b119dc280a438 (patch)
tree8ddf52511caf4331abd8f183b98e590b582abe77 /OpenSim/Framework/Console
parentA small fix for remote console to accommodate PollServiceArgs behavior a (diff)
downloadopensim-SC_OLD-04170521f081bf009bf15f76451b119dc280a438.zip
opensim-SC_OLD-04170521f081bf009bf15f76451b119dc280a438.tar.gz
opensim-SC_OLD-04170521f081bf009bf15f76451b119dc280a438.tar.bz2
opensim-SC_OLD-04170521f081bf009bf15f76451b119dc280a438.tar.xz
Add a UUID param to NoEvents in PollServiceEventArgs to make it more generic
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/RemoteConsole.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs
index a005e20..5a18b94 100644
--- a/OpenSim/Framework/Console/RemoteConsole.cs
+++ b/OpenSim/Framework/Console/RemoteConsole.cs
@@ -393,12 +393,12 @@ namespace OpenSim.Framework.Console
393 lock (m_Connections) 393 lock (m_Connections)
394 { 394 {
395 if (!m_Connections.ContainsKey(sessionID)) 395 if (!m_Connections.ContainsKey(sessionID))
396 return NoEvents(); 396 return NoEvents(UUID.Zero);
397 c = m_Connections[sessionID]; 397 c = m_Connections[sessionID];
398 } 398 }
399 c.last = System.Environment.TickCount; 399 c.last = System.Environment.TickCount;
400 if (c.lastLineSeen >= m_LineNumber) 400 if (c.lastLineSeen >= m_LineNumber)
401 return NoEvents(); 401 return NoEvents(UUID.Zero);
402 402
403 Hashtable result = new Hashtable(); 403 Hashtable result = new Hashtable();
404 404
@@ -440,7 +440,7 @@ namespace OpenSim.Framework.Console
440 return result; 440 return result;
441 } 441 }
442 442
443 private Hashtable NoEvents() 443 private Hashtable NoEvents(UUID id)
444 { 444 {
445 Hashtable result = new Hashtable(); 445 Hashtable result = new Hashtable();
446 446