if '_verb' not in ret:
raise ImplementationFail(msg.raw)
for n_u_h in ret['_nickuserhosts']: # update, turn into proper users
+ if ret['_verb'] == 'QUIT' and 'me' not in self.db.users.keys():
+ # a QUIT before server gave us names should refer to us (and
+ # we need a "me" user to consequently call its .quit)
+ self.db.users['me'].nickuserhost = n_u_h
if (id_ := self.db.users.id_for_nickuserhost(
n_u_h, allow_none=True, updating=True)):
for ret_name in [k for k in ret if ret[k] is n_u_h]: