solanum icon indicating copy to clipboard operation
solanum copied to clipboard

Allow for default umodes to change at runtime

Open skizzerz opened this issue 3 years ago • 3 comments
trafficstars

When default umodes are changed in ircd.conf, these changes will now be applied to all local clients upon receiving a /rehash. We track which umodes a user has explicitly (un)set and avoid modifying those umodes when changing the defaults -- only umodes that a user didn't explicitly touch are subject to change on rehash.

skizzerz avatar May 21 '22 01:05 skizzerz

Hmm. It'd be nice if setting umode -R when you're already -R would mark R as a changed umode, but clearly harder to do that with how user_mode works now.

edk0 avatar May 21 '22 12:05 edk0

@edk0 Wasn't significantly harder to do, so I added that feature in as well.

skizzerz avatar May 22 '22 17:05 skizzerz

This currently sets people -Z when the default umodes change

edk0 avatar May 27 '22 15:05 edk0