luadch / luadch/scripts

cmd_pm2offliners.lua - no minlevel or oplevel

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

When cmd_pm2offliners.lua was removed from cfg.tbl it is no longer possible to set any restrictions.
```
cmd_pm2offliners_minlevel = 60, -- min level to use this command? (integer)
cmd_pm2offliners_oplevel = 100, -- min level to delete the message database? (integer)
cmd_pm2offliners_delay = 7, -- how many seconds after login before send? (integer)
cmd_pm2offliners_advanced_rc = false, -- warning: this feature adds a complete list of all regusers to the rightclick, this could brings problems in bigger (60+) hubs!
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read cmd_pm2offliners.lua and inspect how its settings were previously represented in cfg.tbl. Trace the minlevel and oplevel checks, then verify that both restrictions and the existing delay and advanced_rc settings can be configured again.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.