etc_requests.lua - Showing min level when it is using true/false
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Open etc_requests.lua and trace how the request script builds the +help output from its permission table. Check that boolean permission values do not produce a misleading minimum level, then verify that the displayed description matches the configured permissions.
Written by the indexing model from the issue text.
Description
If i run +help the hub will show available command.
The request script will show:
Description: a script to request / fill releases
Min. Level: 20
But it doesn't have a min level anymore because it is using true/false
[ 0 ] = false, -- unreg
[ 10 ] = false, -- guest
[ 20 ] = true, -- reg
[ 30 ] = true, -- vip
[ 40 ] = true, -- svip
[ 50 ] = true, -- server
[ 55 ] = false, -- sbot
[ 60 ] = true, -- operator
[ 70 ] = true, -- supervisor
[ 80 ] = true, -- admin
[ 100 ] = true, -- hubowner
- Dominant language
- Lua
- Stars
- 5
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from luadch/scripts
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Nmap
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LandSandBoat/server#11579 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100