Comment 1 for bug 318164

Revision history for this message
Tristan Seligmann (mithrandi) wrote : Re: NickServ doesn't change user modes.

I'm not sure what version of InspIRCd we're currently targetting in Kali, but in 1.2, m_services is replaced by m_services_account (see <http://wiki.inspircd.org/Modules/services_account>). In m_services_account, there is no usermode 'r'; instead, registered users have the "accountname" metadata item set. Among other things, this allows us to autologin identified users on services restarted, without any complex syncing behaviour (we just respect existing accountname values), thus avoiding the "everyone has to reidentify after split or restart" problem.

In light of this, the behaviour here should be sufficiently abstract that we can easily replace "set usermode +r" with "set accountname", or whatever else. It's possible that some of this logic behaves in the protocol; I'm not entirely certain of the optimal code factoring.