aboutsummaryrefslogtreecommitdiff
path: root/luatoc.sh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-08 22:32:22 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:57:21 (GMT)
commit9f84eb3c7b18e3a1f6ec6e0f1f3fd181a496e25c (patch)
treefb4e896f45eb451d05c64a58b46b490f9a410d36 /luatoc.sh
parentb8a7503a30a06f53e0cfbc602b210bea1b49ec82 (diff)
downloadfluxbox_pavel-9f84eb3c7b18e3a1f6ec6e0f1f3fd181a496e25c.zip
fluxbox_pavel-9f84eb3c7b18e3a1f6ec6e0f1f3fd181a496e25c.tar.bz2
Lua: Make global variables read-only
This prevents the user from inadvertently overwriting e.g. the session table and then wondering why it does not work. I'm still not sure about this approach, as it's not 100% secure (the script can still use raw access to mess with it) and it adds some overhead to any operation referencing a global variable.
Diffstat (limited to 'luatoc.sh')
0 files changed, 0 insertions, 0 deletions