mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +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
|
author = ircdb.users.getUser(fromId).name
|
||||||
elapsed = utils.timeElapsed(time.time() - addedAt)
|
elapsed = utils.timeElapsed(time.time() - addedAt)
|
||||||
newnote = "%s (Sent by %s %s ago)" % (note, author, elapsed)
|
newnote = "%s (Sent by %s %s ago)" % (note, author, elapsed)
|
||||||
if public:
|
irc.reply(msg, newnote, private=(not public))
|
||||||
irc.reply(msg, newnote)
|
|
||||||
else:
|
|
||||||
### FIXME: IrcObjectProxy should offer a private keyword arg.
|
|
||||||
irc.reply(msg.nick, newnote)
|
|
||||||
self.setAsRead(noteid)
|
self.setAsRead(noteid)
|
||||||
|
|
||||||
def _formatNoteData(self, msg, id, fromId, public):
|
def _formatNoteData(self, msg, id, fromId, public):
|
||||||
|
Loading…
Reference in New Issue
Block a user