mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
Fixed behavior for actions.
This commit is contained in:
parent
3ddc088764
commit
96e79c2b2d
@ -86,7 +86,10 @@ class Markov(callbacks.Privmsg, ChannelDBHandler):
|
||||
channel = msg.args[0]
|
||||
db = self.getDb(channel)
|
||||
cursor = db.cursor()
|
||||
words = msg.args[1].split()
|
||||
if ircmsgs.isAction(msg):
|
||||
words = ircmsgs.unAction(msg).split()
|
||||
else:
|
||||
words = msg.args[1].split()
|
||||
isFirst = True
|
||||
for (first, second, follower) in window(words, 3):
|
||||
if isFirst:
|
||||
|
Loading…
Reference in New Issue
Block a user