Skip to main content

warn_forbidden_names

Function warn_forbidden_names 

Source
async fn warn_forbidden_names(services: &Services) -> Result
Expand description

Warns about existing names the configuration now forbids.

The patterns are advisory rather than enforced retroactively, so a match only names the user or the alias in the log, as the forbidden name checks report them. The aliases are walked room by room, as listed in roomid_shortroomid, with no read for each alias. Neither walk runs when its own pattern list is empty or once shutdown begins.