summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-09 13:37:13 +0100
committerspag <spag@golwen.net>2013-01-09 13:37:13 +0100
commita1e1ad4fc578042613df891ea25971b8fc045edc (patch)
tree1ca0229ed7d4ea0958b1ee4013dced66cc94f784
parent2ac13c8df129cedd81950eb7c5697fbd57cd9612 (diff)
remove parent
-rw-r--r--misc/freeswitch/scripts/common/configuration_table.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/common/configuration_table.lua b/misc/freeswitch/scripts/common/configuration_table.lua
index afb5b0e..731bf2f 100644
--- a/misc/freeswitch/scripts/common/configuration_table.lua
+++ b/misc/freeswitch/scripts/common/configuration_table.lua
@@ -35,5 +35,9 @@ function get(database, entity, section)
end
end)
+ if section then
+ return root[section];
+ end
+
return root;
end