diff options
author | Justin Clark-Casey (justincc) | 2012-01-13 00:03:39 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-13 00:03:39 +0000 |
commit | 3b59af222580e6d6e1a938ab622961285bd6903c (patch) | |
tree | 3eab1b038342dbf5976f7034155e447b8a058a78 /OpenSim/Region/OptionalModules/ServiceConnectorsIn/Freeswitch/FreeswitchServiceInConnectorModule.cs | |
parent | Removing osNpcCreateOwned(). Please use osNpcCreate(string user, string name... (diff) | |
download | opensim-SC-3b59af222580e6d6e1a938ab622961285bd6903c.zip opensim-SC-3b59af222580e6d6e1a938ab622961285bd6903c.tar.gz opensim-SC-3b59af222580e6d6e1a938ab622961285bd6903c.tar.bz2 opensim-SC-3b59af222580e6d6e1a938ab622961285bd6903c.tar.xz |
Change the default osNpcCreate() to create an 'owned' npc rather than an 'unowned' one.
An owned NPC is one that only the original creator can manipulate and delete.
An unowned NPC is one that anybody with access to the osNpc* methods and knowledge of the avatar id can manipulate.
This is to correct an oversight I made in the original reimplementation where I mistakenly assumed that avatar IDs could be treated as private.
I am not anticipating that many people were deliberately making use of unowned npcs due to their insecure nature.
If you do need an unowned NPC please call the new overloaded osCreateNpc() function with the option OS_NPC_NOT_OWNED.
Diffstat (limited to 'OpenSim/Region/OptionalModules/ServiceConnectorsIn/Freeswitch/FreeswitchServiceInConnectorModule.cs')
0 files changed, 0 insertions, 0 deletions