Made the AI module case-insensitive.

This commit is contained in:
Izaya 2016-01-13 01:46:18 +11:00
parent 3c3034de21
commit a09faa268e

View File

@ -14,6 +14,7 @@ if string.find(message,lnick) ~= nil and nick ~= "Shocky" then
w,aitab = pcall(serialization.unserialize,content) w,aitab = pcall(serialization.unserialize,content)
-- print(w,aitab) -- print(w,aitab)
-- print("Decoded AI file.") -- print("Decoded AI file.")
message = message:lower()
local selection = 0 local selection = 0
local hscore = 0 local hscore = 0
-- print("Starting interpretation.") -- print("Starting interpretation.")