DALnet / bahamut

The Bahamut IRC Daemon
http://www.dal.net/?page=Bahamut
Other
59 stars 42 forks source link

Persist the uhm_type and uhm_uhmode values to disk #193

Closed rscs closed 3 years ago

rscs commented 3 years ago

Persist the uhm_type and uhm_uhmode values to disk to handle restarts properly.

eaescob commented 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.

rscs commented 3 years ago

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.