mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
ident better
This commit is contained in:
parent
3b96eac446
commit
c59a36e278
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user