Added the ability to see notes you've sent yourself.

This commit is contained in:
Jeremy Fincher 2003-10-26 17:50:12 +00:00
parent ebcc9a3f1d
commit a1c911e954
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class Notes(callbacks.Privmsg):
if toId == id:
author = ircdb.users.getUser(fromId).name
newnote = '%s (Sent by %s %s ago)' % (note, author, elapsed)
elif fromid == id:
elif fromId == id:
recipient = ircdb.users.getUser(toId).name
newnote = '%s (Sent to %s %s ago)' % (note, recipient, elapsed)
irc.reply(msg, newnote, private=(not public))