Currently if you gain or lose privileges due to a rehash your umodes won't update to reflect that, potentially leaving you with a, p, H etc. when you shouldn't have them (or not adding ones you should have) until you or someone else changes your mode (you can trigger this with /mode $nick +). Fix this the same way as for /grant, by calling user_mode() with noop arguments so it and any hooks get a chance to do things.
Currently if you gain or lose privileges due to a rehash your umodes won't update to reflect that, potentially leaving you with
a
,p
,H
etc. when you shouldn't have them (or not adding ones you should have) until you or someone else changes your mode (you can trigger this with/mode $nick +
). Fix this the same way as for/grant
, by callinguser_mode()
with noop arguments so it and any hooks get a chance to do things.