The configurable key wasn't updated properly.

This commit is contained in:
James Vega 2003-11-17 01:55:11 +00:00
parent b6efb5c212
commit 8ec0a350a0
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class QuoteGrabs(plugins.ChannelDBHandler,
def doPrivmsg(self, irc, msg):
if ircutils.isChannel(msg.args[0]):
channel = msg.args[0]
if self.configurables.get('random', channel):
if self.configurables.get('random-grabber', channel):
if len(msg.args[1]) > minRandomLength and \
len(msg.args[1].split()) > minRandomWords:
db = self.getDb(channel)