Fixed lingerinb bug from when random quotegrabs stuff was converted to config vars

This commit is contained in:
Daniel DiPaolo 2004-08-02 17:00:40 +00:00
parent 35ab104533
commit 55a38cb211

View File

@ -114,6 +114,9 @@ class QuoteGrabs(plugins.ChannelDBHandler, callbacks.Privmsg):
channel) channel)
length = self.registryValue('randomGrabber.minimumCharacters', length = self.registryValue('randomGrabber.minimumCharacters',
channel) channel)
grabTime = \
self.registryValue('randomGrabber.averageTimeBetweenGrabs',
channel)
if self.registryValue('randomGrabber', channel): if self.registryValue('randomGrabber', channel):
if len(payload) > length and len(payload.split()) > words: if len(payload) > length and len(payload.split()) > words:
db = self.getDb(channel) db = self.getDb(channel)