Stylistic updates.

This commit is contained in:
Jeremy Fincher 2004-02-11 06:08:25 +00:00
parent 78bf842965
commit 139e1bb614

View File

@ -111,8 +111,10 @@ class QuoteGrabs(plugins.ChannelDBHandler, callbacks.Privmsg):
def doPrivmsg(self, irc, msg):
if ircutils.isChannel(msg.args[0]):
(channel, payload) = msg.args
length = self.registryValue('randomGrabber.minimumLength', channel)
words = self.registryValue('randomGrabber.minimumWords', channel)
words = self.registryValue('randomGrabber.minimumWords',
channel)
length = self.registryValue('randomGrabber.minimumCharacters',
channel)
if self.registryValue('randomGrabber', channel):
if len(payload) > length and len(payload.split()) > words:
db = self.getDb(channel)