Closed rscs closed 3 years ago
Interesting. I thought we'd just expect an u-lined client to send this. Guessing for networks that don't have it, this is needed. Alternative is to set it via ircd.conf and allow u-lined clients to override.
Eventually, we will set the defaults via the module for the next Bahamut release after this one.
In the interim, we want to save the state so bahamut enables hostmasking properly on startup. Otherwise, users won't be hostmasked in the short period between server startup and hub sync when it gets the services setting.
Also, during the rollout, different servers will have different configs -- some with hostmasking on and some with hostmasking off -- so best to persist that than to ask admins to keep updating their .conf.
Persist the uhm_type and uhm_uhmode values to disk to handle restarts properly.