From a09faa268e0c520c0bc48c0760e4d5a59f3de735 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Wed, 13 Jan 2016 01:46:18 +1100 Subject: [PATCH] Made the AI module case-insensitive. --- hooks/ai.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/ai.lua b/hooks/ai.lua index 073ff49..56fe9b3 100644 --- a/hooks/ai.lua +++ b/hooks/ai.lua @@ -14,6 +14,7 @@ if string.find(message,lnick) ~= nil and nick ~= "Shocky" then w,aitab = pcall(serialization.unserialize,content) -- print(w,aitab) -- print("Decoded AI file.") + message = message:lower() local selection = 0 local hscore = 0 -- print("Starting interpretation.")