mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-29 06:02:38 +01:00
We no longer need to getUser here since wrap() handles this for us.
This commit is contained in:
parent
59d306598a
commit
ea8bf1f479
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user