diff --git a/doc/index.html b/doc/index.html
index 2c604c3..5821bd1 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -115,7 +115,7 @@
- activate |
+ activate_automatically |
If the system should be activated automatically. |
@@ -428,8 +428,8 @@
Fields
-
-
- activate
+
+ activate_automatically
-
If the system should be activated automatically.
diff --git a/mods/spawn_usher/spawnusher.lua b/mods/spawn_usher/spawnusher.lua
index 24d9792..dd50001 100644
--- a/mods/spawn_usher/spawnusher.lua
+++ b/mods/spawn_usher/spawnusher.lua
@@ -37,7 +37,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-- The only function that should be called from clients is activate.
spawnusher = {
--- If the system should be activated automatically.
- activate = settings.get_bool("spawnusher_activate", true),
+ activate_automatically = settings.get_bool("spawnusher_activate", true),
--- If the system is active/has been activated.
active = false,
@@ -90,7 +90,7 @@ spawnusher = {
--- Activates the spawn usher system, if it has not been deactivated by
-- a seeting in the configuration.
function spawnusher.activate()
- if spawnusher.activate then
+ if spawnusher.activate_automatically then
spawnusher.activate_internal()
end
end