NickServ needs to tell the ircd about identification.

Bug #318164 reported by Jeremy Thurgood
2
Affects Status Importance Assigned to Milestone
Kali
In Progress
High
Jeremy Thurgood

Bug Description

NickServ needs to set accounts (or +r, as appropriate) on identification.

Jeremy Thurgood (jerith)
Changed in kali:
assignee: nobody → jerith
importance: Undecided → High
status: New → In Progress
Revision history for this message
Tristan Seligmann (mithrandi) wrote :

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.

Revision history for this message
Jeremy Thurgood (jerith) wrote :

It's trickier than that. The services_account module lets you change your nick, but still be identified with the old one. Thus, we need to handle differences between nick and account sanely. How do other services deal with this?

I think if we can properly handle the accountname stuff, +r becomes a special case we can deal with in the protocol layer (or maybe an intermediate layer between protocol and controller?) by restricting accounts to the nicks they match.

description: updated
no longer affects: kali/trunk
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.