Fixed bug in CVS.

This commit is contained in:
Jeremy Fincher 2003-10-24 08:57:02 +00:00
parent 8229759769
commit d54ec97253
1 changed files with 1 additions and 5 deletions

View File

@ -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):