ident better

This commit is contained in:
deathbybandaid 2019-06-08 14:10:51 -04:00
parent 3b96eac446
commit c59a36e278

View File

@ -41,9 +41,7 @@ class BotUsers():
raise Exception('ID ' + str(nick) + ' does not appear to be associated with a nick')
else:
nick_id = self.whois_ident(nick)
self.add_to_all(nick, nick_id)
self.add_to_current(nick, nick_id)
return self.dict["current"][nick_id]["nick"]
return nick_id
def whois_ident(self, nick):
nick = Identifier(nick)