WhoisRestrictions - silv3rr/wraith GitHub Wiki
Description
The feature referred to as 'whois restrictions' is similar to 'chanset +private' in that it hides info from unprivileged users.
A very simple algorithm is used for this:
- Only PackConfig perm owners] can see perm owners.
- Only +a users can see +a users
- Only +n users can see +n users
- Only +m users can see +m users
- Only +m users can whois bots
Commands affected
- whois
- match
- addline
- userlist
- channels
- boot
- chhandle
- chpass
- chsecpass
- comment
- simul
- chattr
- su
- nopass
- -user
- +host
- -host
- clearhosts
- swhois
- chinfo
Possible holes
To less privileged users, they will only know a user higher than them exists by that higher user speaking on partyline.
+user and adduser could also reveal a higher user exists. To solve this, place a cmdpass on the cmds:
.cmdpass +user blah
.cmdpass adduser blah