QuoteGrabs: QuoteGrabsRecord at arg needs to be an int.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2009-07-18 20:27:45 -04:00
parent dcb247494e
commit cbf68e53e3
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class SqliteQuoteGrabsDB(object):
raise dbi.NoRecordError
(id, by, quote, hostmask, at, grabber) = cursor.fetchone()
return QuoteGrabsRecord(id, by=by, text=quote, hostmask=hostmask,
at=at, grabber=grabber)
at=int(at), grabber=grabber)
def random(self, channel, nick):
db = self._getDb(channel)