Suggestions for +listreg command
Bug #1133229 reported by
Herman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ADCH++ |
New
|
Undecided
|
Unassigned |
Bug Description
Suggestions for +listreg command
- Fix the bug if you search with a "[" without ending "]" like "+listreg [ab"
- Fix so it trim spaces before, after the "nick"
- Fix so the name and password is on the same row i.e remove the "\n\t"
To post a comment you must log in.
Probably to fix the "[" bug. match(string. lower(v. nick), param, 1 ))) then find(string. lower(v. nick), param, 1,true ))) then
--if v.level <= user.level and (#param == 0 or (v.nick and string.
if v.level <= user.level and (#param == 0 or (v.nick and string.
A way to fix spaces
param = string.match(param, "^%s*(.-)%s*$")