From d54ec9725352a8d809c1e24d5177fb9ddc1fa56c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 24 Oct 2003 08:57:02 +0000 Subject: [PATCH] Fixed bug in CVS. --- plugins/Notes.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/Notes.py b/plugins/Notes.py index 8d2df4b88..bb075dd5a 100644 --- a/plugins/Notes.py +++ b/plugins/Notes.py @@ -193,11 +193,7 @@ class Notes(callbacks.Privmsg): author = ircdb.users.getUser(fromId).name elapsed = utils.timeElapsed(time.time() - addedAt) newnote = "%s (Sent by %s %s ago)" % (note, author, elapsed) - if public: - irc.reply(msg, newnote) - else: - ### FIXME: IrcObjectProxy should offer a private keyword arg. - irc.reply(msg.nick, newnote) + irc.reply(msg, newnote, private=(not public)) self.setAsRead(noteid) def _formatNoteData(self, msg, id, fromId, public):