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):
return note.to == user.id and note.read
if sender:
try:
sender = ircdb.users.getUser(sender)
except KeyError:
irc.error('That user is not in my user database.')
return
originalP = p
def p(note):
return originalP(note) and note.frm == sender.id