aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-27 22:27:39 +0100
committerJustin Clark-Casey (justincc)2013-09-27 22:29:16 +0100
commit5a6ad028e31734f2908034d0011a15a79be84228 (patch)
tree316e06bd60915b8976d5a608e808d82f103558be /OpenSim/Region/OptionalModules
parentrefactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ... (diff)
downloadopensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.zip
opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.tar.gz
opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.tar.bz2
opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.tar.xz
refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent()
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs2
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
index 23a435d..a4fc4ae 100644
--- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
+++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
@@ -903,7 +903,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
903 903
904 public void Start() 904 public void Start()
905 { 905 {
906 m_scene.AddNewClient(this, PresenceType.User); 906 m_scene.AddNewAgent(this, PresenceType.User);
907 907
908 // Mimicking LLClientView which gets always set appearance from client. 908 // Mimicking LLClientView which gets always set appearance from client.
909 AvatarAppearance appearance; 909 AvatarAppearance appearance;
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 740f75a..fffe1ab 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -175,7 +175,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
175 { 175 {
176 scene.AuthenticateHandler.AddNewCircuit(npcAvatar.CircuitCode, 176 scene.AuthenticateHandler.AddNewCircuit(npcAvatar.CircuitCode,
177 acd); 177 acd);
178 scene.AddNewClient(npcAvatar, PresenceType.Npc); 178 scene.AddNewAgent(npcAvatar, PresenceType.Npc);
179 179
180 ScenePresence sp; 180 ScenePresence sp;
181 if (scene.TryGetScenePresence(npcAvatar.AgentId, out sp)) 181 if (scene.TryGetScenePresence(npcAvatar.AgentId, out sp))