From a1c911e954dcf557e044f6be50d5fd116be83d13 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 26 Oct 2003 17:50:12 +0000 Subject: [PATCH] Added the ability to see notes you've sent yourself. --- plugins/Notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Notes.py b/plugins/Notes.py index f9cac665c..311fc837c 100644 --- a/plugins/Notes.py +++ b/plugins/Notes.py @@ -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))