mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Another slight randomgrab bugfix
This commit is contained in:
parent
0a1907318a
commit
91c6cb51e5
@ -224,7 +224,7 @@ class QuoteGrabs(callbacks.Privmsg):
|
||||
if self.registryValue('randomGrabber', channel):
|
||||
if len(payload) > length and len(payload.split()) > words:
|
||||
try:
|
||||
last = self.db.select(channel, msg.nick)
|
||||
last = int(self.db.select(channel, msg.nick))
|
||||
except dbi.NoRecordError:
|
||||
self._grab(irc, msg, irc.prefix)
|
||||
self._sendGrabMsg(irc, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user