Correctly update the LastSeen field

viewer-2-initial-appearance
Melanie Thielker 2010-06-21 23:26:27 +02:00 committed by Melanie
parent 01728fb19e
commit ccd5610997
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ namespace OpenSim.Data.MySQL
MySqlCommand cmd = new MySqlCommand();
cmd.CommandText = String.Format("update {0} set RegionID=?RegionID where `SessionID`=?SessionID", m_Realm);
cmd.CommandText = String.Format("update {0} set RegionID=?RegionID, LastSeen=NOW() where `SessionID`=?SessionID", m_Realm);
cmd.Parameters.AddWithValue("?SessionID", sessionID.ToString());
cmd.Parameters.AddWithValue("?RegionID", regionID.ToString());