mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
QuoteGrabs: Fix incorrect argument order to _grab
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 874508867f
)
This commit is contained in:
parent
4eb30069bf
commit
65a180798f
@ -1,6 +1,6 @@
|
|||||||
###
|
###
|
||||||
# Copyright (c) 2004, Daniel DiPaolo
|
# Copyright (c) 2004, Daniel DiPaolo
|
||||||
# Copyright (c) 2008, James Vega
|
# Copyright (c) 2008-2009, James Vega
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -202,7 +202,7 @@ class QuoteGrabs(callbacks.Plugin):
|
|||||||
try:
|
try:
|
||||||
last = int(self.db.select(channel, msg.nick))
|
last = int(self.db.select(channel, msg.nick))
|
||||||
except dbi.NoRecordError:
|
except dbi.NoRecordError:
|
||||||
self._grab(irc, channel, msg, irc.prefix)
|
self._grab(channel, irc, msg, irc.prefix)
|
||||||
self._sendGrabMsg(irc, msg)
|
self._sendGrabMsg(irc, msg)
|
||||||
else:
|
else:
|
||||||
elapsed = int(time.time()) - last
|
elapsed = int(time.time()) - last
|
||||||
|
Loading…
Reference in New Issue
Block a user