diff options
author | Anton Shestakov <av6@dwimlabs.net> | 2016-08-12 13:44:47 +0800 |
---|---|---|
committer | Anton Shestakov <av6@dwimlabs.net> | 2016-08-12 13:44:47 +0800 |
commit | 727e4c4f90b6402cce27e475c1385d627eab4af6 (patch) | |
tree | e29a35ec9a95576d42f04689a32cd644609ccb42 /tests/test_util_throttle.lua | |
parent | 09bd46d141424f39f91dd0edf0a5534ab23f9105 (diff) | |
download | prosody-727e4c4f90b6402cce27e475c1385d627eab4af6.tar.gz prosody-727e4c4f90b6402cce27e475c1385d627eab4af6.zip |
ejabberdsql2prosody: rename variable 'host' to prevent shadowing upvalue [luacheck]
Functions roster(), roster_pending(), roster_group(), private_storage() and
offline_msg() have argument named "host", which used to shadow upvalue of this
variable before this change. Instead of renaming this argument, let's rename
the variable to match what the script says in usage:
Usage: ejabberdsql2prosody.lua filename.txt hostname
Diffstat (limited to 'tests/test_util_throttle.lua')
0 files changed, 0 insertions, 0 deletions