mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
The configurable key wasn't updated properly.
This commit is contained in:
parent
b6efb5c212
commit
8ec0a350a0
@ -97,7 +97,7 @@ class QuoteGrabs(plugins.ChannelDBHandler,
|
|||||||
def doPrivmsg(self, irc, msg):
|
def doPrivmsg(self, irc, msg):
|
||||||
if ircutils.isChannel(msg.args[0]):
|
if ircutils.isChannel(msg.args[0]):
|
||||||
channel = 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 \
|
if len(msg.args[1]) > minRandomLength and \
|
||||||
len(msg.args[1].split()) > minRandomWords:
|
len(msg.args[1].split()) > minRandomWords:
|
||||||
db = self.getDb(channel)
|
db = self.getDb(channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user