Closed rscs closed 2 years ago
Curious, should we create a setting to automatically umode +H on connect and not oper hostmasked?
Curious, should we create a setting to automatically umode +H on connect and not oper hostmasked?
We have the following logic in do_user() which sets the user as +H if hostmasking is configured and enabled.
#ifdef USER_HOSTMASKING
if((uhm_type > 0) && (uhm_umodeh == 1)) sptr->umode |= UMODE_H;
else sptr->umode &= ~UMODE_H;
#endif
Are you saying maybe we should have a #define or config setting that specifically controls whether or not to +H by default? I could see a server or network not wanting +H to be the default.
Are you saying maybe we should have a #define or config setting that specifically controls whether or not to +H by default? I could see a server or network not wanting +H to be the default.
Nevermind ... @crigler reminded me that this already exists :).
uhm_umodeh has 3 settings documented in m_svsuhm