mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-12 11:31:03 +01:00
Let's try and use the database we'd normally be using.
This commit is contained in:
parent
b8da3624b3
commit
3b61351d21
@ -214,7 +214,10 @@ class Markov(callbacks.Privmsg):
|
||||
return m.args[1].split()
|
||||
|
||||
def doPrivmsg(self, irc, msg):
|
||||
channel = msg.args[0]
|
||||
if not conf.supybot.databases.plugins.channelSpecific():
|
||||
channel = conf.supybot.databases.plugins.channelSpecific.channel()
|
||||
else:
|
||||
channel = msg.args[0]
|
||||
if irc.isChannel(channel):
|
||||
canSpeak = False
|
||||
now = time.time()
|
||||
|
Loading…
x
Reference in New Issue
Block a user