mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Fix bug #1063094, Note.reply exception.
This commit is contained in:
parent
3f93307518
commit
0263eb95a8
@ -250,7 +250,7 @@ class Note(callbacks.Privmsg):
|
|||||||
'is no longer in my user database.', Raise=True)
|
'is no longer in my user database.', Raise=True)
|
||||||
id = self.db.send(user.id, note.frm, public, text)
|
id = self.db.send(user.id, note.frm, public, text)
|
||||||
irc.reply('Note #%s sent to %s.' % (id, target.name))
|
irc.reply('Note #%s sent to %s.' % (id, target.name))
|
||||||
reply = wrap(reply, [('id', 'note'), 'text'])
|
reply = wrap(reply, ['user', ('id', 'note'), 'text'])
|
||||||
|
|
||||||
def unsend(self, irc, msg, args, user, id):
|
def unsend(self, irc, msg, args, user, id):
|
||||||
"""<id>
|
"""<id>
|
||||||
|
Loading…
Reference in New Issue
Block a user