Fix bug #1063094, Note.reply exception.

This commit is contained in:
James Vega 2004-11-09 13:35:54 +00:00
parent 3f93307518
commit 0263eb95a8

View File

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