mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +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):
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user