mirror of https://github.com/Mikaela/Limnoria.git
Fix a typo and remove extraneous whitespace
This commit is contained in:
parent
70efdfbea1
commit
9d4b715004
|
@ -158,7 +158,7 @@ class Note(callbacks.Privmsg):
|
||||||
return ircdb.users.getUserId(name)
|
return ircdb.users.getUserId(name)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
hostmask = irc.state.nickToHosmtask(name)
|
hostmask = irc.state.nickToHostmask(name)
|
||||||
return ircdb.users.getUserId(hostmask)
|
return ircdb.users.getUserId(hostmask)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue