mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Let's try and use the database we'd normally be using.
This commit is contained in:
parent
b8da3624b3
commit
3b61351d21
@ -214,6 +214,9 @@ class Markov(callbacks.Privmsg):
|
||||
return m.args[1].split()
|
||||
|
||||
def doPrivmsg(self, irc, msg):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user