Fix a typo and remove extraneous whitespace

This commit is contained in:
James Vega 2004-07-21 19:06:49 +00:00
parent 70efdfbea1
commit 9d4b715004
1 changed files with 7 additions and 7 deletions

View File

@ -158,7 +158,7 @@ class Note(callbacks.Privmsg):
return ircdb.users.getUserId(name)
else:
try:
hostmask = irc.state.nickToHosmtask(name)
hostmask = irc.state.nickToHostmask(name)
return ircdb.users.getUserId(hostmask)
except KeyError:
return None