mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 20:14:20 +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()
|
return m.args[1].split()
|
||||||
|
|
||||||
def doPrivmsg(self, irc, msg):
|
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):
|
if irc.isChannel(channel):
|
||||||
canSpeak = False
|
canSpeak = False
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user