From 874508867fb98b6cdd9846136c681cae388a0741 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 26 Jun 2009 16:58:46 -0400 Subject: [PATCH] QuoteGrabs: Fix incorrect argument order to _grab Signed-off-by: James Vega --- plugins/QuoteGrabs/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/QuoteGrabs/plugin.py b/plugins/QuoteGrabs/plugin.py index dfd49911e..b3deefc49 100644 --- a/plugins/QuoteGrabs/plugin.py +++ b/plugins/QuoteGrabs/plugin.py @@ -1,6 +1,6 @@ ### # Copyright (c) 2004, Daniel DiPaolo -# Copyright (c) 2008, James Vega +# Copyright (c) 2008-2009, James Vega # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -202,7 +202,7 @@ class QuoteGrabs(callbacks.Plugin): try: last = int(self.db.select(channel, msg.nick)) except dbi.NoRecordError: - self._grab(irc, channel, msg, irc.prefix) + self._grab(channel, irc, msg, irc.prefix) self._sendGrabMsg(irc, msg) else: elapsed = int(time.time()) - last