mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +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()
|
return m.args[1].split()
|
||||||
|
|
||||||
def doPrivmsg(self, irc, msg):
|
def doPrivmsg(self, irc, msg):
|
||||||
|
if not conf.supybot.databases.plugins.channelSpecific():
|
||||||
|
channel = conf.supybot.databases.plugins.channelSpecific.channel()
|
||||||
|
else:
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if irc.isChannel(channel):
|
if irc.isChannel(channel):
|
||||||
canSpeak = False
|
canSpeak = False
|
||||||
|
Loading…
Reference in New Issue
Block a user