From 885d60a1321ceee277d0f53db58dc79318800dd2 Mon Sep 17 00:00:00 2001 From: James Vega Date: Sat, 18 Jul 2009 20:27:45 -0400 Subject: [PATCH] QuoteGrabs: QuoteGrabsRecord at arg needs to be an int. Signed-off-by: James Vega (cherry picked from commit cbf68e53e35fe0281724674b0f3ce153334c87f9) --- plugins/QuoteGrabs/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/QuoteGrabs/plugin.py b/plugins/QuoteGrabs/plugin.py index b3deefc49..04abf7a44 100644 --- a/plugins/QuoteGrabs/plugin.py +++ b/plugins/QuoteGrabs/plugin.py @@ -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)