mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Fixed bug in CVS.
This commit is contained in:
parent
8229759769
commit
d54ec97253
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user