We no longer need to getUser here since wrap() handles this for us.

This commit is contained in:
James Vega 2004-11-09 20:23:30 +00:00
parent 59d306598a
commit ea8bf1f479

View File

@ -399,11 +399,6 @@ class Note(callbacks.Privmsg):
def p(note): def p(note):
return note.to == user.id and note.read return note.to == user.id and note.read
if sender: if sender:
try:
sender = ircdb.users.getUser(sender)
except KeyError:
irc.error('That user is not in my user database.')
return
originalP = p originalP = p
def p(note): def p(note):
return originalP(note) and note.frm == sender.id return originalP(note) and note.frm == sender.id