aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/markov.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markov.py b/modules/markov.py
index 88e5cf34..f9d4b989 100644
--- a/modules/markov.py
+++ b/modules/markov.py
@@ -12,7 +12,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.message.channel")
def channel_message(self, event):
- words = event["message_split"]
+ words = [word.lower() for word in event["message_split"]]
words_n = len(words)
if words_n > 2 and event["channel"].get_setting("markov", False):