View Issue Details

IDProjectCategoryView StatusLast Update
0006203unrealmodule apipublic2023-03-17 11:40
ReporterValware Assigned Tosyzop  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionunable to duplicate 
Product Version6.0.5-rc1 
Summary0006203: `set::restrict-commands` doesn't like third-party commands
Description`set::restrict-commands` produces warnings on `./unrealircd rehash` when trying to restrict third-party commands.
Additional Informationircd@leaf:~/unrealircd-6.0.5-git$ ./unrealircd rehash
[info] Loading IRCd configuration..
[info] Testing IRCd configuration..
[warn] [restrict-commands] Command 'voteban' does not exist. Did you mistype? Or is the module providing it not loaded?
[warn] [restrict-commands] Command 'cregister' does not exist. Did you mistype? Or is the module providing it not loaded?
[warn] [restrict-commands] Command 'mail' does not exist. Did you mistype? Or is the module providing it not loaded?
[info] Configuration loaded
Rehashed succesfully.
TagsNo tags attached.
3rd party modules

Activities

syzop

2023-02-03 12:38

administrator   ~0022717

Last edited: 2023-02-03 12:40

CommandAdd() should be called in MOD_INIT, so other modules can later in MOD_LOAD use CommandOverrideAdd() to add a command override for it.

Perhaps in those 3 modules, where it warns about, someone made the mistake of calling CommandAdd in MOD_LOAD ?

(I cannot check since none of these 3 modules are in unrealircd-contrib)

syzop

2023-03-17 11:40

administrator   ~0022765

See previous comment

Issue History

Date Modified Username Field Change
2022-12-20 15:53 Valware New Issue
2023-02-03 12:38 syzop Note Added: 0022717
2023-02-03 12:40 syzop Note Edited: 0022717
2023-02-03 12:52 syzop Assigned To => syzop
2023-02-03 12:52 syzop Status new => feedback
2023-03-17 11:40 syzop Status feedback => closed
2023-03-17 11:40 syzop Resolution open => unable to duplicate
2023-03-17 11:40 syzop Note Added: 0022765