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
1 changed files with 3 additions and 0 deletions

View File

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